Package com.shaft.listeners.internal
Class WebDriverListener
java.lang.Object
com.shaft.listeners.internal.WebDriverListener
- All Implemented Interfaces:
io.appium.java_client.proxy.MethodCallListener
,org.openqa.selenium.support.events.WebDriverListener
public class WebDriverListener
extends Object
implements org.openqa.selenium.support.events.WebDriverListener, io.appium.java_client.proxy.MethodCallListener
-
Field Summary
Fields inherited from interface io.appium.java_client.proxy.MethodCallListener
UNSET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterAnyCall
(Object target, Method method, Object[] args, Object result) void
afterBack
(org.openqa.selenium.WebDriver.Navigation navigation) void
afterClose
(org.openqa.selenium.WebDriver driver) void
afterForward
(org.openqa.selenium.WebDriver.Navigation navigation) void
void
afterGetAttribute
(org.openqa.selenium.WebElement element, String name, String result) void
afterGetCurrentUrl
(String result, org.openqa.selenium.WebDriver driver) void
afterGetText
(org.openqa.selenium.WebElement element, String result) void
afterGetTitle
(org.openqa.selenium.WebDriver driver, String result) void
afterMaximize
(org.openqa.selenium.WebDriver.Window window) void
afterQuit
(org.openqa.selenium.WebDriver driver) void
afterRefresh
(org.openqa.selenium.WebDriver.Navigation navigation) void
void
void
beforeClear
(org.openqa.selenium.WebElement element) void
beforeClick
(org.openqa.selenium.WebElement element) void
beforeFindElement
(org.openqa.selenium.WebDriver driver, org.openqa.selenium.By locator) void
beforeSendKeys
(org.openqa.selenium.Alert alert, String text) void
beforeSendKeys
(org.openqa.selenium.WebElement element, CharSequence... keysToSend) void
beforeSubmit
(org.openqa.selenium.WebElement element) void
onError
(Object target, Method method, Object[] args, InvocationTargetException e) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.appium.java_client.proxy.MethodCallListener
afterCall, beforeCall, call, onError
Methods inherited from interface org.openqa.selenium.support.events.WebDriverListener
afterAccept, afterActiveElement, afterAddCookie, afterAlert, afterAnyAlertCall, afterAnyNavigationCall, afterAnyOptionsCall, afterAnyTargetLocatorCall, afterAnyTimeoutsCall, afterAnyWebDriverCall, afterAnyWebElementCall, afterAnyWindowCall, afterClear, afterClick, afterDefaultContent, afterDeleteAllCookies, afterDeleteCookie, afterDeleteCookieNamed, afterDismiss, afterExecuteAsyncScript, afterExecuteScript, afterFindElement, afterFindElement, afterFindElements, afterFindElements, afterFrame, afterFrame, afterFrame, afterFullscreen, afterGetCookieNamed, afterGetCookies, afterGetCssValue, afterGetCurrentUrl, afterGetLocation, afterGetPageSource, afterGetPosition, afterGetSize, afterGetSize, afterGetTagName, afterGetText, afterGetWindowHandle, afterGetWindowHandles, afterImplicitlyWait, afterIsDisplayed, afterIsEnabled, afterIsSelected, afterNewWindow, afterPageLoadTimeout, afterParentFrame, afterPerform, afterResetInputState, afterSendKeys, afterSendKeys, afterSetPosition, afterSetScriptTimeout, afterSetSize, afterSubmit, afterWindow, beforeAccept, beforeActiveElement, beforeAddCookie, beforeAlert, beforeAnyAlertCall, beforeAnyCall, beforeAnyNavigationCall, beforeAnyOptionsCall, beforeAnyTargetLocatorCall, beforeAnyTimeoutsCall, beforeAnyWebDriverCall, beforeAnyWebElementCall, beforeAnyWindowCall, beforeBack, beforeClose, beforeDefaultContent, beforeDeleteAllCookies, beforeDeleteCookie, beforeDeleteCookieNamed, beforeDismiss, beforeExecuteAsyncScript, beforeExecuteScript, beforeFindElement, beforeFindElements, beforeFindElements, beforeForward, beforeFrame, beforeFrame, beforeFrame, beforeFullscreen, beforeGet, beforeGetAttribute, beforeGetCookieNamed, beforeGetCookies, beforeGetCssValue, beforeGetCurrentUrl, beforeGetLocation, beforeGetPageSource, beforeGetPosition, beforeGetSize, beforeGetSize, beforeGetTagName, beforeGetText, beforeGetText, beforeGetTitle, beforeGetWindowHandle, beforeGetWindowHandles, beforeImplicitlyWait, beforeIsDisplayed, beforeIsEnabled, beforeIsSelected, beforeMaximize, beforeNewWindow, beforePageLoadTimeout, beforeParentFrame, beforePerform, beforeQuit, beforeRefresh, beforeResetInputState, beforeSetPosition, beforeSetScriptTimeout, beforeSetSize, beforeTo, beforeTo, beforeWindow
-
Constructor Details
-
WebDriverListener
public WebDriverListener()
-
-
Method Details
-
afterAnyCall
- Specified by:
afterAnyCall
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
onError
- Specified by:
onError
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterGet
- Specified by:
afterGet
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterGetCurrentUrl
-
afterGetTitle
- Specified by:
afterGetTitle
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeFindElement
public void beforeFindElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.By locator) - Specified by:
beforeFindElement
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterClose
public void afterClose(org.openqa.selenium.WebDriver driver) - Specified by:
afterClose
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterQuit
public void afterQuit(org.openqa.selenium.WebDriver driver) - Specified by:
afterQuit
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeClick
public void beforeClick(org.openqa.selenium.WebElement element) - Specified by:
beforeClick
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeSubmit
public void beforeSubmit(org.openqa.selenium.WebElement element) - Specified by:
beforeSubmit
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeSendKeys
- Specified by:
beforeSendKeys
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeClear
public void beforeClear(org.openqa.selenium.WebElement element) - Specified by:
beforeClear
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterGetAttribute
- Specified by:
afterGetAttribute
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterGetText
- Specified by:
afterGetText
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeSendKeys
- Specified by:
beforeSendKeys
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterMaximize
public void afterMaximize(org.openqa.selenium.WebDriver.Window window) - Specified by:
afterMaximize
in interfaceorg.openqa.selenium.support.events.WebDriverListener
-