123456789_123456789_123456789_123456789_123456789_

Exception: Selenium::WebDriver::Error::WebDriverError

Class Method Summary

Instance Method Summary

Constructor Details

.new(msg = '') ⇒ WebDriverError

[ GitHub ]

  
# 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

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/error.rb', line 53

def class_name
  self.class.name&.split('::')&.last&.to_sym
end