Class OptionsListener

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

    public final class OptionsListener
    extends Object
    implements org.openqa.selenium.support.events.WebDriverListener
    Listener for all WebElement related actions Currently - logs only
    Author:
    Nir Gallner
    • Constructor Summary

      Constructors 
      Constructor Description
      OptionsListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterAddCookie​(org.openqa.selenium.WebDriver.Options options, org.openqa.selenium.Cookie cookie)  
      void afterAnyOptionsCall​(org.openqa.selenium.WebDriver.Options options, Method method, Object[] args, Object result)  
      void afterDeleteAllCookies​(org.openqa.selenium.WebDriver.Options options)  
      void afterDeleteCookie​(org.openqa.selenium.WebDriver.Options options, org.openqa.selenium.Cookie cookie)  
      void afterDeleteCookieNamed​(org.openqa.selenium.WebDriver.Options options, String name)  
      void afterGetCookieNamed​(org.openqa.selenium.WebDriver.Options options, String name, org.openqa.selenium.Cookie result)  
      void afterGetCookies​(org.openqa.selenium.WebDriver.Options options, Set<org.openqa.selenium.Cookie> result)  
      void beforeAddCookie​(org.openqa.selenium.WebDriver.Options options, org.openqa.selenium.Cookie cookie)  
      void beforeAnyOptionsCall​(org.openqa.selenium.WebDriver.Options options, Method method, Object[] args)  
      void beforeDeleteAllCookies​(org.openqa.selenium.WebDriver.Options options)  
      void beforeDeleteCookie​(org.openqa.selenium.WebDriver.Options options, org.openqa.selenium.Cookie cookie)  
      void beforeDeleteCookieNamed​(org.openqa.selenium.WebDriver.Options options, String name)  
      void beforeGetCookieNamed​(org.openqa.selenium.WebDriver.Options options, String name)  
      void beforeGetCookies​(org.openqa.selenium.WebDriver.Options options)  
      • Methods inherited from interface org.openqa.selenium.support.events.WebDriverListener

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

      • OptionsListener

        public OptionsListener()
    • Method Detail

      • beforeAnyOptionsCall

        public void beforeAnyOptionsCall​(org.openqa.selenium.WebDriver.Options options,
                                         Method method,
                                         Object[] args)
        Specified by:
        beforeAnyOptionsCall in interface org.openqa.selenium.support.events.WebDriverListener
      • afterAnyOptionsCall

        public void afterAnyOptionsCall​(org.openqa.selenium.WebDriver.Options options,
                                        Method method,
                                        Object[] args,
                                        Object result)
        Specified by:
        afterAnyOptionsCall in interface org.openqa.selenium.support.events.WebDriverListener
      • beforeAddCookie

        public void beforeAddCookie​(org.openqa.selenium.WebDriver.Options options,
                                    org.openqa.selenium.Cookie cookie)
        Specified by:
        beforeAddCookie in interface org.openqa.selenium.support.events.WebDriverListener
      • afterAddCookie

        public void afterAddCookie​(org.openqa.selenium.WebDriver.Options options,
                                   org.openqa.selenium.Cookie cookie)
        Specified by:
        afterAddCookie in interface org.openqa.selenium.support.events.WebDriverListener
      • beforeDeleteCookieNamed

        public void beforeDeleteCookieNamed​(org.openqa.selenium.WebDriver.Options options,
                                            String name)
        Specified by:
        beforeDeleteCookieNamed in interface org.openqa.selenium.support.events.WebDriverListener
      • afterDeleteCookieNamed

        public void afterDeleteCookieNamed​(org.openqa.selenium.WebDriver.Options options,
                                           String name)
        Specified by:
        afterDeleteCookieNamed in interface org.openqa.selenium.support.events.WebDriverListener
      • beforeDeleteCookie

        public void beforeDeleteCookie​(org.openqa.selenium.WebDriver.Options options,
                                       org.openqa.selenium.Cookie cookie)
        Specified by:
        beforeDeleteCookie in interface org.openqa.selenium.support.events.WebDriverListener
      • afterDeleteCookie

        public void afterDeleteCookie​(org.openqa.selenium.WebDriver.Options options,
                                      org.openqa.selenium.Cookie cookie)
        Specified by:
        afterDeleteCookie in interface org.openqa.selenium.support.events.WebDriverListener
      • beforeDeleteAllCookies

        public void beforeDeleteAllCookies​(org.openqa.selenium.WebDriver.Options options)
        Specified by:
        beforeDeleteAllCookies in interface org.openqa.selenium.support.events.WebDriverListener
      • afterDeleteAllCookies

        public void afterDeleteAllCookies​(org.openqa.selenium.WebDriver.Options options)
        Specified by:
        afterDeleteAllCookies in interface org.openqa.selenium.support.events.WebDriverListener
      • beforeGetCookies

        public void beforeGetCookies​(org.openqa.selenium.WebDriver.Options options)
        Specified by:
        beforeGetCookies in interface org.openqa.selenium.support.events.WebDriverListener
      • afterGetCookies

        public void afterGetCookies​(org.openqa.selenium.WebDriver.Options options,
                                    Set<org.openqa.selenium.Cookie> result)
        Specified by:
        afterGetCookies in interface org.openqa.selenium.support.events.WebDriverListener
      • beforeGetCookieNamed

        public void beforeGetCookieNamed​(org.openqa.selenium.WebDriver.Options options,
                                         String name)
        Specified by:
        beforeGetCookieNamed in interface org.openqa.selenium.support.events.WebDriverListener
      • afterGetCookieNamed

        public void afterGetCookieNamed​(org.openqa.selenium.WebDriver.Options options,
                                        String name,
                                        org.openqa.selenium.Cookie result)
        Specified by:
        afterGetCookieNamed in interface org.openqa.selenium.support.events.WebDriverListener