Class: Capybara::Simulated::ClickIntercepted
- Inherits:
-
ElementNotFound
- Object
- ElementNotFound
- Capybara::Simulated::ClickIntercepted
- Defined in:
- lib/capybara/simulated/errors.rb
Overview
Raised when the click point's hit-test lands on an unrelated element
painted over the target (WebDriver "element click intercepted") — a
modal backdrop mid-exit, a full-page overlay. Listed as an
invalid_element_error, so Capybara's synchronize retries the
find+click until the obstruction is gone, exactly as it does for a
real driver's ElementClickInterceptedError.