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.



1019
1020
1021
# File 'lib/puppeteer/page.rb', line 1019

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