Class: Capybara::Simulated::StaleElement

Inherits:
ElementNotFound
  • Object
show all
Defined in:
lib/capybara/simulated/errors.rb

Overview

Raised when an Element handle no longer refers to a node attached to the document. Driver lists this as an invalid_element_error, so Capybara's synchronize wrapper catches it and reloads the cached element.