Method: Selenium::WebDriver::Error::WebDriverError#initialize

Defined in:
lib/selenium/webdriver/common/error.rb

#initialize(msg = '') ⇒ WebDriverError

Returns a new instance of WebDriverError.



48
49
50
51
# File 'lib/selenium/webdriver/common/error.rb', line 48

def initialize(msg = '')
  # Remove this conditional when all the error pages have been documented
  super(URLS[class_name] ? "#{msg}; #{SUPPORT_MSG} #{URLS[class_name]}" : msg)
end