Exception: Puppeteer::Page::PrintToPdfIsNotImplementedError

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

Instance Attribute Summary

Attributes inherited from Error

#cause

Instance Method Summary collapse

Constructor Details

#initializePrintToPdfIsNotImplementedError

Returns a new instance of PrintToPdfIsNotImplementedError.



1784
1785
1786
# File 'lib/puppeteer/page.rb', line 1784

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