Exception: Selenium::WebDriver::Error::NoSuchElementError
- Inherits:
-
WebDriverError
- Object
- StandardError
- WebDriverError
- Selenium::WebDriver::Error::NoSuchElementError
- Defined in:
- lib/selenium/webdriver/common/error.rb
Overview
An element could not be located on the page using the given search parameters.
Instance Method Summary collapse
-
#initialize(msg = '') ⇒ NoSuchElementError
constructor
A new instance of NoSuchElementError.
Constructor Details
#initialize(msg = '') ⇒ NoSuchElementError
Returns a new instance of NoSuchElementError.
47 48 49 |
# File 'lib/selenium/webdriver/common/error.rb', line 47 def initialize(msg = '') super("#{msg}; #{SUPPORT_MSG} #{ERROR_URL}#no-such-element-exception") end |