Exception: Selenium::WebDriver::Error::WebDriverError
Class Method Summary
- .new(msg = '') ⇒ WebDriverError constructor
Instance Method Summary
-
#class_name
steep:ignore:start.
Constructor Details
.new(msg = '') ⇒ WebDriverError
# File 'rb/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
Instance Method Details
#class_name
steep:ignore:start
# File 'rb/lib/selenium/webdriver/common/error.rb', line 54
def class_name self.class.name.split('::')&.last&.to_sym end