Exception: Puppeteer::ElementHandle::ElementNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Puppeteer::ElementHandle::ElementNotFoundError
- Defined in:
- lib/puppeteer/element_handle.rb
Instance Method Summary collapse
-
#initialize(selector) ⇒ ElementNotFoundError
constructor
A new instance of ElementNotFoundError.
Constructor Details
#initialize(selector) ⇒ ElementNotFoundError
Returns a new instance of ElementNotFoundError.
336 337 338 |
# File 'lib/puppeteer/element_handle.rb', line 336 def initialize(selector) super("failed to find element matching selector \"#{selector}\"") end |