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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterAnyCall(Object target, Method method, Object[] args, Object result) voidafterBack(org.openqa.selenium.WebDriver.Navigation navigation) voidafterClose(org.openqa.selenium.WebDriver driver) voidafterForward(org.openqa.selenium.WebDriver.Navigation navigation) voidvoidafterGetAttribute(org.openqa.selenium.WebElement element, String name, String result) voidafterGetCurrentUrl(String result, org.openqa.selenium.WebDriver driver) voidafterGetText(org.openqa.selenium.WebElement element, String result) voidafterGetTitle(org.openqa.selenium.WebDriver driver, String result) voidafterMaximize(org.openqa.selenium.WebDriver.Window window) voidafterQuit(org.openqa.selenium.WebDriver driver) voidafterRefresh(org.openqa.selenium.WebDriver.Navigation navigation) voidvoidvoidbeforeClear(org.openqa.selenium.WebElement element) voidbeforeClick(org.openqa.selenium.WebElement element) voidbeforeFindElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.By locator) voidbeforeSendKeys(org.openqa.selenium.Alert alert, String text) voidbeforeSendKeys(org.openqa.selenium.WebElement element, CharSequence... keysToSend) voidbeforeSubmit(org.openqa.selenium.WebElement element) voidonError(Object target, Method method, Object[] args, InvocationTargetException e) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.appium.java_client.proxy.MethodCallListener
afterCall, beforeCall, call, onErrorMethods 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, afterGetScreenshotAs, afterGetScreenshotAs, afterGetSize, afterGetSize, afterGetTagName, afterGetText, afterGetWindowHandle, afterGetWindowHandles, afterImplicitlyWait, afterIsDisplayed, afterIsEnabled, afterIsSelected, afterNewWindow, afterPageLoadTimeout, afterParentFrame, afterPerform, afterResetInputState, afterScriptTimeout, afterSendKeys, afterSendKeys, afterSetPosition, 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, beforeGetScreenshotAs, beforeGetScreenshotAs, beforeGetSize, beforeGetSize, beforeGetTagName, beforeGetText, beforeGetText, beforeGetTitle, beforeGetWindowHandle, beforeGetWindowHandles, beforeImplicitlyWait, beforeIsDisplayed, beforeIsEnabled, beforeIsSelected, beforeMaximize, beforeNewWindow, beforePageLoadTimeout, beforeParentFrame, beforePerform, beforeQuit, beforeRefresh, beforeResetInputState, beforeScriptTimeout, beforeSetPosition, beforeSetSize, beforeTo, beforeTo, beforeWindow
-
Constructor Details
-
WebDriverListener
public WebDriverListener()
-
-
Method Details
-
afterAnyCall
- Specified by:
afterAnyCallin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
onError
- Specified by:
onErrorin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterGet
- Specified by:
afterGetin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterGetCurrentUrl
-
afterGetTitle
- Specified by:
afterGetTitlein interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeFindElement
public void beforeFindElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.By locator) - Specified by:
beforeFindElementin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterClose
public void afterClose(org.openqa.selenium.WebDriver driver) - Specified by:
afterClosein interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterQuit
public void afterQuit(org.openqa.selenium.WebDriver driver) - Specified by:
afterQuitin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeClick
public void beforeClick(org.openqa.selenium.WebElement element) - Specified by:
beforeClickin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeSubmit
public void beforeSubmit(org.openqa.selenium.WebElement element) - Specified by:
beforeSubmitin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeSendKeys
- Specified by:
beforeSendKeysin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeClear
public void beforeClear(org.openqa.selenium.WebElement element) - Specified by:
beforeClearin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterGetAttribute
- Specified by:
afterGetAttributein interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterGetText
- Specified by:
afterGetTextin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
beforeSendKeys
- Specified by:
beforeSendKeysin interfaceorg.openqa.selenium.support.events.WebDriverListener
-
afterMaximize
public void afterMaximize(org.openqa.selenium.WebDriver.Window window) - Specified by:
afterMaximizein interfaceorg.openqa.selenium.support.events.WebDriverListener
-