Class AndroidWebDriverStub
java.lang.Object
net.thucydides.core.webdriver.stubs.WebDriverStub
net.thucydides.core.webdriver.stubs.AndroidWebDriverStub
- All Implemented Interfaces:
io.appium.java_client.android.connection.HasNetworkConnection,io.appium.java_client.android.HasAndroidDeviceDetails,io.appium.java_client.android.HasSupportedPerformanceDataType,io.appium.java_client.android.PushesFiles,io.appium.java_client.android.StartsActivity,io.appium.java_client.ExecutesMethod,io.appium.java_client.FindsByAndroidUIAutomator,io.appium.java_client.FindsByFluentSelector,io.appium.java_client.InteractsWithFiles,io.appium.java_client.LocksDevice,io.appium.java_client.windows.PressesKeyCode,org.openqa.selenium.SearchContext,org.openqa.selenium.WebDriver
public class AndroidWebDriverStub
extends WebDriverStub
implements io.appium.java_client.windows.PressesKeyCode, io.appium.java_client.android.connection.HasNetworkConnection, io.appium.java_client.android.PushesFiles, io.appium.java_client.android.StartsActivity, io.appium.java_client.FindsByAndroidUIAutomator, io.appium.java_client.android.HasAndroidDeviceDetails, io.appium.java_client.android.HasSupportedPerformanceDataType, io.appium.java_client.LocksDevice
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openqa.selenium.WebDriver
org.openqa.selenium.WebDriver.ImeHandler, org.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Window -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.openqa.selenium.remote.Responseorg.openqa.selenium.remote.Responseorg.openqa.selenium.WebElementfindElement(String s, String s1) org.openqa.selenium.WebElementfindElement(org.openqa.selenium.By by) findElements(String s, String s1) List<org.openqa.selenium.WebElement>findElements(org.openqa.selenium.By by) voidgetTitle()org.openqa.selenium.WebDriver.Optionsmanage()org.openqa.selenium.WebDriver.Navigationnavigate()voidquit()org.openqa.selenium.WebDriver.TargetLocatorswitchTo()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.appium.java_client.FindsByAndroidUIAutomator
findElementByAndroidUIAutomator, findElementsByAndroidUIAutomatorMethods inherited from interface io.appium.java_client.android.HasAndroidDeviceDetails
getDisplayDensity, getSystemBarsMethods inherited from interface io.appium.java_client.android.connection.HasNetworkConnection
getConnection, setConnectionMethods inherited from interface io.appium.java_client.android.HasSupportedPerformanceDataType
getPerformanceData, getSupportedPerformanceDataTypesMethods inherited from interface io.appium.java_client.InteractsWithFiles
pullFile, pullFolderMethods inherited from interface io.appium.java_client.LocksDevice
isDeviceLocked, lockDevice, lockDevice, unlockDeviceMethods inherited from interface io.appium.java_client.windows.PressesKeyCode
longPressKeyCode, longPressKeyCode, pressKeyCode, pressKeyCodeMethods inherited from interface io.appium.java_client.android.PushesFiles
pushFile, pushFileMethods inherited from interface io.appium.java_client.android.StartsActivity
currentActivity, getCurrentPackage, startActivity
-
Constructor Details
-
AndroidWebDriverStub
public AndroidWebDriverStub()
-
-
Method Details
-
get
- Specified by:
getin interfaceorg.openqa.selenium.WebDriver- Overrides:
getin classWebDriverStub
-
getCurrentUrl
- Specified by:
getCurrentUrlin interfaceorg.openqa.selenium.WebDriver- Overrides:
getCurrentUrlin classWebDriverStub
-
getTitle
- Specified by:
getTitlein interfaceorg.openqa.selenium.WebDriver- Overrides:
getTitlein classWebDriverStub
-
findElements
- Specified by:
findElementsin interfaceorg.openqa.selenium.SearchContext- Specified by:
findElementsin interfaceorg.openqa.selenium.WebDriver- Overrides:
findElementsin classWebDriverStub
-
findElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by) - Specified by:
findElementin interfaceorg.openqa.selenium.SearchContext- Specified by:
findElementin interfaceorg.openqa.selenium.WebDriver- Overrides:
findElementin classWebDriverStub
-
getPageSource
- Specified by:
getPageSourcein interfaceorg.openqa.selenium.WebDriver- Overrides:
getPageSourcein classWebDriverStub
-
close
public void close()- Specified by:
closein interfaceorg.openqa.selenium.WebDriver- Overrides:
closein classWebDriverStub
-
quit
public void quit()- Specified by:
quitin interfaceorg.openqa.selenium.WebDriver- Overrides:
quitin classWebDriverStub
-
getWindowHandles
- Specified by:
getWindowHandlesin interfaceorg.openqa.selenium.WebDriver- Overrides:
getWindowHandlesin classWebDriverStub
-
getWindowHandle
- Specified by:
getWindowHandlein interfaceorg.openqa.selenium.WebDriver- Overrides:
getWindowHandlein classWebDriverStub
-
switchTo
public org.openqa.selenium.WebDriver.TargetLocator switchTo()- Specified by:
switchToin interfaceorg.openqa.selenium.WebDriver- Overrides:
switchToin classWebDriverStub
-
manage
public org.openqa.selenium.WebDriver.Options manage()- Specified by:
managein interfaceorg.openqa.selenium.WebDriver- Overrides:
managein classWebDriverStub
-
execute
- Specified by:
executein interfaceio.appium.java_client.ExecutesMethod
-
execute
- Specified by:
executein interfaceio.appium.java_client.ExecutesMethod
-
findElement
- Specified by:
findElementin interfaceio.appium.java_client.FindsByFluentSelector
-
findElements
- Specified by:
findElementsin interfaceio.appium.java_client.FindsByFluentSelector
-