Exception: Selenium::WebDriver::Error::NoSuchElementError

Inherits:
WebDriverError
  • Object
show all
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

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