Exception: Puppeteer::Page::PrintToPdfIsNotImplementedError

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

Instance Method Summary collapse

Constructor Details

#initializePrintToPdfIsNotImplementedError

Returns a new instance of PrintToPdfIsNotImplementedError.



1133
1134
1135
# File 'lib/puppeteer/page.rb', line 1133

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