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.



1012
1013
1014
# File 'lib/puppeteer/page.rb', line 1012

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