public class AndroidDriver extends RemoteWebDriver implements org.openqa.selenium.TakesScreenshot, org.openqa.selenium.Rotatable, org.openqa.selenium.html5.BrowserConnection, org.openqa.selenium.interactions.HasTouchScreen, org.openqa.selenium.html5.WebStorage, org.openqa.selenium.html5.LocationContext, org.openqa.selenium.html5.ApplicationCache
RemoteWebDriver.RemoteTargetLocator, RemoteWebDriver.RemoteWebDriverOptions, RemoteWebDriver.Whenorg.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 |
|---|
AndroidDriver()
The default constructor assumes the remote server is listening at http://localhost:8080/wd/hub
|
AndroidDriver(org.openqa.selenium.Capabilities ignored) |
AndroidDriver(DesiredCapabilities caps) |
AndroidDriver(String remoteAddress) |
AndroidDriver(URL remoteAddress) |
AndroidDriver(URL url,
DesiredCapabilities caps) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.html5.LocalStorage |
getLocalStorage() |
org.openqa.selenium.ScreenOrientation |
getOrientation() |
<X> X |
getScreenshotAs(org.openqa.selenium.OutputType<X> target) |
org.openqa.selenium.html5.SessionStorage |
getSessionStorage() |
org.openqa.selenium.html5.AppCacheStatus |
getStatus() |
org.openqa.selenium.interactions.TouchScreen |
getTouch() |
boolean |
isOnline() |
org.openqa.selenium.html5.Location |
location() |
void |
rotate(org.openqa.selenium.ScreenOrientation orientation) |
void |
setFileDetector(FileDetector detector) |
void |
setLocation(org.openqa.selenium.html5.Location loc) |
void |
setOnline(boolean online) |
close, execute, execute, executeAsyncScript, executeScript, findElement, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, get, getCapabilities, getCommandExecutor, getCurrentUrl, getElementConverter, getErrorHandler, getExecuteMethod, getFileDetector, getKeyboard, getMouse, getPageSource, getRemoteStatus, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, manage, navigate, quit, setCommandExecutor, setElementConverter, setFoundBy, setLogLevel, setSessionId, startClient, startSession, startSession, stopClient, switchTo, toStringpublic AndroidDriver()
public AndroidDriver(org.openqa.selenium.Capabilities ignored)
public AndroidDriver(String remoteAddress) throws MalformedURLException
MalformedURLExceptionpublic AndroidDriver(DesiredCapabilities caps)
public AndroidDriver(URL remoteAddress)
public AndroidDriver(URL url, DesiredCapabilities caps)
public void setFileDetector(FileDetector detector)
setFileDetector in class RemoteWebDriverpublic <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> target)
throws org.openqa.selenium.WebDriverException
getScreenshotAs in interface org.openqa.selenium.TakesScreenshotorg.openqa.selenium.WebDriverExceptionpublic boolean isOnline()
isOnline in interface org.openqa.selenium.html5.BrowserConnectionpublic void setOnline(boolean online)
throws org.openqa.selenium.WebDriverException
setOnline in interface org.openqa.selenium.html5.BrowserConnectionorg.openqa.selenium.WebDriverExceptionpublic void rotate(org.openqa.selenium.ScreenOrientation orientation)
rotate in interface org.openqa.selenium.Rotatablepublic org.openqa.selenium.ScreenOrientation getOrientation()
getOrientation in interface org.openqa.selenium.Rotatablepublic org.openqa.selenium.interactions.TouchScreen getTouch()
getTouch in interface org.openqa.selenium.interactions.HasTouchScreenpublic org.openqa.selenium.html5.LocalStorage getLocalStorage()
getLocalStorage in interface org.openqa.selenium.html5.WebStoragepublic org.openqa.selenium.html5.SessionStorage getSessionStorage()
getSessionStorage in interface org.openqa.selenium.html5.WebStoragepublic org.openqa.selenium.html5.Location location()
location in interface org.openqa.selenium.html5.LocationContextpublic void setLocation(org.openqa.selenium.html5.Location loc)
setLocation in interface org.openqa.selenium.html5.LocationContextpublic org.openqa.selenium.html5.AppCacheStatus getStatus()
getStatus in interface org.openqa.selenium.html5.ApplicationCacheCopyright © 2013. All rights reserved.