Interface ListensToException

  • All Superinterfaces:
    Listener
    All Known Subinterfaces:
    AppiumWebDriverEventListener

    @Deprecated
    public interface ListensToException
    extends Listener
    Deprecated.
    Deprecated. Use EventFiringDecorator and WebDriverListener instead.
    • Method Detail

      • onException

        void onException​(java.lang.Throwable throwable,
                         org.openqa.selenium.WebDriver driver)
        Deprecated.
        Called whenever an exception would be thrown.
        Parameters:
        throwable - the exception that will be thrown
        driver - WebDriver