Class TimeoutsListener

  • All Implemented Interfaces:
    org.openqa.selenium.support.events.WebDriverListener

    public final class TimeoutsListener
    extends Object
    implements org.openqa.selenium.support.events.WebDriverListener
    Listener class for timeouts events
    Since:
    0.0.3 (Feb 2022)
    Author:
    Nir Gallner
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterAnyTimeoutsCall​(org.openqa.selenium.WebDriver.Timeouts timeouts, Method method, Object[] args, Object result)  
      void afterImplicitlyWait​(org.openqa.selenium.WebDriver.Timeouts timeouts, Duration duration)  
      void afterPageLoadTimeout​(org.openqa.selenium.WebDriver.Timeouts timeouts, Duration duration)  
      void afterSetScriptTimeout​(org.openqa.selenium.WebDriver.Timeouts timeouts, Duration duration)  
      void beforeAnyTimeoutsCall​(org.openqa.selenium.WebDriver.Timeouts timeouts, Method method, Object[] args)  
      void beforeImplicitlyWait​(org.openqa.selenium.WebDriver.Timeouts timeouts, Duration duration)  
      void beforePageLoadTimeout​(org.openqa.selenium.WebDriver.Timeouts timeouts, Duration duration)  
      void beforeSetScriptTimeout​(org.openqa.selenium.WebDriver.Timeouts timeouts, Duration duration)  
      • Methods inherited from interface org.openqa.selenium.support.events.WebDriverListener

        afterAccept, afterAddCookie, afterAnyAlertCall, afterAnyCall, afterAnyNavigationCall, afterAnyOptionsCall, afterAnyWebDriverCall, afterAnyWebElementCall, afterAnyWindowCall, afterBack, afterClear, afterClick, afterClose, afterDeleteAllCookies, afterDeleteCookie, afterDeleteCookieNamed, afterDismiss, afterExecuteAsyncScript, afterExecuteScript, afterFindElement, afterFindElement, afterFindElements, afterFindElements, afterForward, afterFullscreen, afterGet, afterGetAttribute, afterGetCookieNamed, afterGetCookies, afterGetCssValue, afterGetCurrentUrl, afterGetLocation, afterGetPageSource, afterGetPosition, afterGetSize, afterGetSize, afterGetTagName, afterGetText, afterGetText, afterGetTitle, afterGetWindowHandle, afterGetWindowHandles, afterIsDisplayed, afterIsEnabled, afterIsSelected, afterMaximize, afterPerform, afterQuit, afterRefresh, afterResetInputState, afterSendKeys, afterSendKeys, afterSetPosition, afterSetSize, afterSubmit, afterTo, afterTo, beforeAccept, beforeAddCookie, beforeAnyAlertCall, beforeAnyCall, beforeAnyNavigationCall, beforeAnyOptionsCall, beforeAnyWebDriverCall, beforeAnyWebElementCall, beforeAnyWindowCall, beforeBack, beforeClear, beforeClick, beforeClose, beforeDeleteAllCookies, beforeDeleteCookie, beforeDeleteCookieNamed, beforeDismiss, beforeExecuteAsyncScript, beforeExecuteScript, beforeFindElement, beforeFindElement, beforeFindElements, beforeFindElements, beforeForward, beforeFullscreen, beforeGet, beforeGetAttribute, beforeGetCookieNamed, beforeGetCookies, beforeGetCssValue, beforeGetCurrentUrl, beforeGetLocation, beforeGetPageSource, beforeGetPosition, beforeGetSize, beforeGetSize, beforeGetTagName, beforeGetText, beforeGetText, beforeGetTitle, beforeGetWindowHandle, beforeGetWindowHandles, beforeIsDisplayed, beforeIsEnabled, beforeIsSelected, beforeMaximize, beforePerform, beforeQuit, beforeRefresh, beforeResetInputState, beforeSendKeys, beforeSendKeys, beforeSetPosition, beforeSetSize, beforeSubmit, beforeTo, beforeTo, onError
    • Constructor Detail

      • TimeoutsListener

        public TimeoutsListener()
    • Method Detail

      • beforeAnyTimeoutsCall

        public void beforeAnyTimeoutsCall​(org.openqa.selenium.WebDriver.Timeouts timeouts,
                                          Method method,
                                          Object[] args)
        Specified by:
        beforeAnyTimeoutsCall in interface org.openqa.selenium.support.events.WebDriverListener
      • afterAnyTimeoutsCall

        public void afterAnyTimeoutsCall​(org.openqa.selenium.WebDriver.Timeouts timeouts,
                                         Method method,
                                         Object[] args,
                                         Object result)
        Specified by:
        afterAnyTimeoutsCall in interface org.openqa.selenium.support.events.WebDriverListener
      • beforeImplicitlyWait

        public void beforeImplicitlyWait​(org.openqa.selenium.WebDriver.Timeouts timeouts,
                                         Duration duration)
        Specified by:
        beforeImplicitlyWait in interface org.openqa.selenium.support.events.WebDriverListener
      • afterImplicitlyWait

        public void afterImplicitlyWait​(org.openqa.selenium.WebDriver.Timeouts timeouts,
                                        Duration duration)
        Specified by:
        afterImplicitlyWait in interface org.openqa.selenium.support.events.WebDriverListener
      • beforeSetScriptTimeout

        public void beforeSetScriptTimeout​(org.openqa.selenium.WebDriver.Timeouts timeouts,
                                           Duration duration)
        Specified by:
        beforeSetScriptTimeout in interface org.openqa.selenium.support.events.WebDriverListener
      • afterSetScriptTimeout

        public void afterSetScriptTimeout​(org.openqa.selenium.WebDriver.Timeouts timeouts,
                                          Duration duration)
        Specified by:
        afterSetScriptTimeout in interface org.openqa.selenium.support.events.WebDriverListener
      • beforePageLoadTimeout

        public void beforePageLoadTimeout​(org.openqa.selenium.WebDriver.Timeouts timeouts,
                                          Duration duration)
        Specified by:
        beforePageLoadTimeout in interface org.openqa.selenium.support.events.WebDriverListener
      • afterPageLoadTimeout

        public void afterPageLoadTimeout​(org.openqa.selenium.WebDriver.Timeouts timeouts,
                                         Duration duration)
        Specified by:
        afterPageLoadTimeout in interface org.openqa.selenium.support.events.WebDriverListener