Exception: Puppeteer::Page::PrintToPdfIsNotImplementedError

Inherits:
Error
  • Object
show all
Defined in:
lib/puppeteer/page.rb

Instance Attribute Summary

Attributes inherited from Error

#cause

Instance Method Summary collapse

Constructor Details

#initializePrintToPdfIsNotImplementedError

Returns a new instance of PrintToPdfIsNotImplementedError.



1551
1552
1553
# File 'lib/puppeteer/page.rb', line 1551

def initialize
  super('pdf() is only available in headless mode. See https://github.com/puppeteer/puppeteer/issues/1829')
end