Package org.alfresco.utility.web.browser
Class EventWebBrowserListener
java.lang.Object
org.alfresco.utility.web.browser.EventWebBrowserListener
- All Implemented Interfaces:
org.openqa.selenium.support.events.WebDriverListener
public class EventWebBrowserListener
extends Object
implements org.openqa.selenium.support.events.WebDriverListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterAccept(org.openqa.selenium.Alert alert) voidafterBack(org.openqa.selenium.WebDriver.Navigation navigation) voidafterClick(org.openqa.selenium.WebElement element) voidafterDismiss(org.openqa.selenium.Alert alert) voidafterExecuteScript(org.openqa.selenium.WebDriver driver, String script, Object[] args, Object result) voidafterFindElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.By by, org.openqa.selenium.WebElement element) voidafterForward(org.openqa.selenium.WebDriver.Navigation driver) voidvoidafterRefresh(org.openqa.selenium.WebDriver.Navigation navigation) voidbeforeAccept(org.openqa.selenium.Alert alert) voidbeforeClick(org.openqa.selenium.WebElement element) voidbeforeDismiss(org.openqa.selenium.Alert alert) voidbeforeRefresh(org.openqa.selenium.WebDriver.Navigation navigation) voidonError(Object target, Method method, Object[] args, InvocationTargetException e) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openqa.selenium.support.events.WebDriverListener
afterActiveElement, afterAddCookie, afterAlert, afterAnyAlertCall, afterAnyCall, afterAnyNavigationCall, afterAnyOptionsCall, afterAnyTargetLocatorCall, afterAnyTimeoutsCall, afterAnyWebDriverCall, afterAnyWebElementCall, afterAnyWindowCall, afterClear, afterClose, afterDefaultContent, afterDeleteAllCookies, afterDeleteCookie, afterDeleteCookieNamed, afterExecuteAsyncScript, afterFindElement, afterFindElements, afterFindElements, afterFrame, afterFrame, afterFrame, afterFullscreen, afterGetAttribute, afterGetCookieNamed, afterGetCookies, afterGetCssValue, afterGetCurrentUrl, afterGetLocation, afterGetPageSource, afterGetPosition, afterGetScreenshotAs, afterGetScreenshotAs, afterGetSize, afterGetSize, afterGetTagName, afterGetText, afterGetText, afterGetTitle, afterGetWindowHandle, afterGetWindowHandles, afterImplicitlyWait, afterIsDisplayed, afterIsEnabled, afterIsSelected, afterMaximize, afterNewWindow, afterPageLoadTimeout, afterParentFrame, afterPerform, afterQuit, afterResetInputState, afterScriptTimeout, afterSendKeys, afterSendKeys, afterSetPosition, afterSetSize, afterSubmit, afterTo, afterTo, afterWindow, beforeActiveElement, beforeAddCookie, beforeAlert, beforeAnyAlertCall, beforeAnyCall, beforeAnyNavigationCall, beforeAnyOptionsCall, beforeAnyTargetLocatorCall, beforeAnyTimeoutsCall, beforeAnyWebDriverCall, beforeAnyWebElementCall, beforeAnyWindowCall, beforeBack, beforeClear, beforeClose, beforeDefaultContent, beforeDeleteAllCookies, beforeDeleteCookie, beforeDeleteCookieNamed, beforeExecuteAsyncScript, beforeExecuteScript, beforeFindElement, beforeFindElement, beforeFindElements, beforeFindElements, beforeForward, beforeFrame, beforeFrame, beforeFrame, beforeFullscreen, beforeGet, beforeGetAttribute, beforeGetCookieNamed, beforeGetCookies, beforeGetCssValue, beforeGetCurrentUrl, beforeGetLocation, beforeGetPageSource, beforeGetPosition, beforeGetScreenshotAs, beforeGetScreenshotAs, beforeGetSize, beforeGetSize, beforeGetTagName, beforeGetText, beforeGetText, beforeGetTitle, beforeGetWindowHandle, beforeGetWindowHandles, beforeImplicitlyWait, beforeIsDisplayed, beforeIsEnabled, beforeIsSelected, beforeMaximize, beforeNewWindow, beforePageLoadTimeout, beforeParentFrame, beforePerform, beforeQuit, beforeResetInputState, beforeScriptTimeout, beforeSendKeys, beforeSendKeys, beforeSetPosition, beforeSetSize, beforeSubmit, beforeTo, beforeTo, beforeWindow
-
Constructor Details
-
EventWebBrowserListener
public EventWebBrowserListener()
-
-
Method Details
-
beforeClick
public void beforeClick(org.openqa.selenium.WebElement element) - Specified by:
beforeClickin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterClick
public void afterClick(org.openqa.selenium.WebElement element) - Specified by:
afterClickin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterFindElement
public void afterFindElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.By by, org.openqa.selenium.WebElement element) - Specified by:
afterFindElementin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterGet
- Specified by:
afterGetin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterExecuteScript
public void afterExecuteScript(org.openqa.selenium.WebDriver driver, String script, Object[] args, Object result) - Specified by:
afterExecuteScriptin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
onError
- Specified by:
onErrorin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterAccept
public void afterAccept(org.openqa.selenium.Alert alert) - Specified by:
afterAcceptin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterDismiss
public void afterDismiss(org.openqa.selenium.Alert alert) - Specified by:
afterDismissin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeAccept
public void beforeAccept(org.openqa.selenium.Alert alert) - Specified by:
beforeAcceptin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeDismiss
public void beforeDismiss(org.openqa.selenium.Alert alert) - Specified by:
beforeDismissin interfaceorg.openqa.selenium.support.events.WebDriverListener
-