Exception: Selenium::WebDriver::Error::WebDriverError
- Inherits:
 - 
      StandardError
      
        
- Object
 - StandardError
 - Selenium::WebDriver::Error::WebDriverError
 
 
- Defined in:
 - lib/selenium/webdriver/common/error.rb
 
Direct Known Subclasses
DetachedShadowRootError, ElementClickInterceptedError, ElementNotInteractableError, InsecureCertificateError, InvalidArgumentError, InvalidCookieDomainError, InvalidElementStateError, InvalidSelectorError, InvalidSessionIdError, JavascriptError, MoveTargetOutOfBoundsError, NoSuchAlertError, NoSuchCookieError, NoSuchDriverError, NoSuchElementError, NoSuchFrameError, NoSuchShadowRootError, NoSuchWindowError, ScriptTimeoutError, SessionNotCreatedError, StaleElementReferenceError, TimeoutError, UnableToCaptureScreenError, UnableToSetCookieError, UnexpectedAlertOpenError, UnknownCommandError, UnknownError, UnknownMethodError, UnsupportedOperationError
Instance Method Summary collapse
- 
  
    
      #class_name  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
steep:ignore:start.
 - 
  
    
      #initialize(msg = '')  ⇒ WebDriverError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of WebDriverError.
 
Constructor Details
#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  | 
  
Instance Method Details
#class_name ⇒ Object
steep:ignore:start
      54 55 56  | 
    
      # File 'lib/selenium/webdriver/common/error.rb', line 54 def class_name self.class.name.split('::')&.last&.to_sym end  |