Exception: Capybara::Simulated::StaleElementReferenceError

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

Overview

Raised by the runtime when a Ruby caller hands back a handle id that no longer maps to a live DOM node — usually because the page was reloaded between the find and the action. Capybara’s synchronize block catches these via the driver’s ‘invalid_element_errors`.