Skip to content
Commit c1fa0f8b authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Add automatic handling of NoSuchElement exceptions



NoSuchElement exceptions are sometimes thrown instead of
StaleElementReference exceptions. This can happen when the Selenium2
driver for Mink performs an action on an element through the WebDriver
session instead of directly through the WebDriver element. In that case,
if the element with the given ID does not exist, a NoSuchElement
exception would be thrown instead of a StaleElementReference exception,
so those cases are handled like StaleElementReference exceptions.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent deb2495f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment