Exception: Selenium::WebDriver::Error::StaleElementReferenceError

Inherits:
WebDriverError
  • Object
show all
Defined in:
rb/lib/selenium/webdriver/common/error.rb

Overview

A command failed because the referenced element is no longer attached to the DOM.

Instance Method Summary collapse

Constructor Details

#initialize(msg = '') ⇒ StaleElementReferenceError

Returns a new instance of StaleElementReferenceError.



69
70
71
# File 'rb/lib/selenium/webdriver/common/error.rb', line 69

def initialize(msg = '')
  super("#{msg}; #{SUPPORT_MSG} #{ERROR_URL}#stale-element-reference-exception")
end