Exception: Puppeteer::ElementHandle::ElementNotFoundError

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

Instance Attribute Summary

Attributes inherited from Puppeteer::Error

#cause

Instance Method Summary collapse

Constructor Details

#initialize(selector) ⇒ ElementNotFoundError

Returns a new instance of ElementNotFoundError.



775
776
777
# File 'lib/puppeteer/element_handle.rb', line 775

def initialize(selector)
  super("failed to find element matching selector \"#{selector}\"")
end