public interface ListensToException extends Listener
| Modifier and Type | Method and Description |
|---|---|
void |
onException(java.lang.Throwable throwable,
WebDriver driver)
Called whenever an exception would be thrown.
|
void onException(java.lang.Throwable throwable,
WebDriver driver)
throwable - the exception that will be throwndriver - WebDriver