Class FirefoxWebDriverExceptionOccurrenceBehaviour
- java.lang.Object
-
- de.bmiag.tapir.selenium.aop.DefaultWebDriverExceptionOccurrenceBehaviour
-
- de.bmiag.tapir.selenium.firefox.aop.FirefoxWebDriverExceptionOccurrenceBehaviour
-
- All Implemented Interfaces:
WebDriverExceptionOccurrenceBehaviour
public class FirefoxWebDriverExceptionOccurrenceBehaviour extends DefaultWebDriverExceptionOccurrenceBehaviour
TheFirefoxWebDriverExceptionOccurrenceBehaviour
provides Firefox specific exception handling.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Constructor Summary
Constructors Constructor Description FirefoxWebDriverExceptionOccurrenceBehaviour()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldRetry(org.openqa.selenium.WebDriverException ex)
Returns if the operation should be retried for givenWebDriverException
.
-
-
-
Method Detail
-
shouldRetry
public boolean shouldRetry(org.openqa.selenium.WebDriverException ex)
Description copied from interface:WebDriverExceptionOccurrenceBehaviour
Returns if the operation should be retried for givenWebDriverException
.- Specified by:
shouldRetry
in interfaceWebDriverExceptionOccurrenceBehaviour
- Overrides:
shouldRetry
in classDefaultWebDriverExceptionOccurrenceBehaviour
- Parameters:
ex
- The given exception- Returns:
- true, if the operation should be retried.
-
-