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

steep:ignore:start

[ GitHub ]

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

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