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
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 and Description |
---|
AndroidWebDriverStub() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.openqa.selenium.remote.Response |
execute(java.lang.String s) |
org.openqa.selenium.remote.Response |
execute(java.lang.String s,
java.util.Map<java.lang.String,?> map) |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by) |
org.openqa.selenium.WebElement |
findElement(java.lang.String s,
java.lang.String s1) |
java.util.List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by) |
java.util.List |
findElements(java.lang.String s,
java.lang.String s1) |
void |
get(java.lang.String s) |
java.lang.String |
getCurrentUrl() |
java.lang.String |
getPageSource() |
java.lang.String |
getTitle() |
java.lang.String |
getWindowHandle() |
java.util.Set<java.lang.String> |
getWindowHandles() |
org.openqa.selenium.WebDriver.Options |
manage() |
org.openqa.selenium.WebDriver.Navigation |
navigate() |
void |
quit() |
org.openqa.selenium.WebDriver.TargetLocator |
switchTo() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
longPressKeyCode, longPressKeyCode, pressKeyCode, pressKeyCode
getConnection, setConnection
currentActivity, getCurrentPackage, startActivity
findElementByAndroidUIAutomator, findElementsByAndroidUIAutomator
getDisplayDensity, getSystemBars
public void get(java.lang.String s)
get
in interface org.openqa.selenium.WebDriver
get
in class WebDriverStub
public java.lang.String getCurrentUrl()
getCurrentUrl
in interface org.openqa.selenium.WebDriver
getCurrentUrl
in class WebDriverStub
public java.lang.String getTitle()
getTitle
in interface org.openqa.selenium.WebDriver
getTitle
in class WebDriverStub
public java.util.List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
findElements
in interface org.openqa.selenium.SearchContext
findElements
in interface org.openqa.selenium.WebDriver
findElements
in class WebDriverStub
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
findElement
in interface org.openqa.selenium.SearchContext
findElement
in interface org.openqa.selenium.WebDriver
findElement
in class WebDriverStub
public java.lang.String getPageSource()
getPageSource
in interface org.openqa.selenium.WebDriver
getPageSource
in class WebDriverStub
public void close()
close
in interface org.openqa.selenium.WebDriver
close
in class WebDriverStub
public void quit()
quit
in interface org.openqa.selenium.WebDriver
quit
in class WebDriverStub
public java.util.Set<java.lang.String> getWindowHandles()
getWindowHandles
in interface org.openqa.selenium.WebDriver
getWindowHandles
in class WebDriverStub
public java.lang.String getWindowHandle()
getWindowHandle
in interface org.openqa.selenium.WebDriver
getWindowHandle
in class WebDriverStub
public org.openqa.selenium.WebDriver.TargetLocator switchTo()
switchTo
in interface org.openqa.selenium.WebDriver
switchTo
in class WebDriverStub
public org.openqa.selenium.WebDriver.Navigation navigate()
navigate
in interface org.openqa.selenium.WebDriver
navigate
in class WebDriverStub
public org.openqa.selenium.WebDriver.Options manage()
manage
in interface org.openqa.selenium.WebDriver
manage
in class WebDriverStub
public org.openqa.selenium.remote.Response execute(java.lang.String s, java.util.Map<java.lang.String,?> map)
execute
in interface io.appium.java_client.ExecutesMethod
public org.openqa.selenium.remote.Response execute(java.lang.String s)
execute
in interface io.appium.java_client.ExecutesMethod
public org.openqa.selenium.WebElement findElement(java.lang.String s, java.lang.String s1)
findElement
in interface io.appium.java_client.FindsByFluentSelector
public java.util.List findElements(java.lang.String s, java.lang.String s1)
findElements
in interface io.appium.java_client.FindsByFluentSelector