|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openqa.selenium.remote.RemoteWebDriver
org.openqa.selenium.iphone.IPhoneDriver
@Deprecated public class IPhoneDriver
IPhoneDriver is a driver for running tests on Mobile Safari on the iPhone, iPad and iPod Touch. The driver uses WebDriver's remote REST interface to communicate with the iphone. The iphone (or iphone simulator) must be running the iWebDriver app.
| Nested Class Summary | |
|---|---|
static class |
IPhoneDriver.STORAGE_TYPE
Deprecated. |
| Nested classes/interfaces inherited from class org.openqa.selenium.remote.RemoteWebDriver |
|---|
RemoteWebDriver.RemoteTargetLocator, RemoteWebDriver.RemoteWebDriverOptions, RemoteWebDriver.When |
| 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 |
| Field Summary | |
|---|---|
protected static String |
DEFAULT_IWEBDRIVER_URL
Deprecated. This is the default port and URL for iWebDriver. |
| Constructor Summary | |
|---|---|
IPhoneDriver()
Deprecated. Create an IPhoneDriver connected to an iphone simulator running on the local machine. |
|
IPhoneDriver(org.openqa.selenium.Capabilities ignored)
Deprecated. |
|
IPhoneDriver(CommandExecutor executor)
Deprecated. Create an IPhoneDriver that will use the given executor to communicate with the
iWebDriver app. |
|
IPhoneDriver(String remoteAddress)
Deprecated. Create an IPhoneDriver connected to the remote address passed in. |
|
IPhoneDriver(URL remoteAddress)
Deprecated. Create an IPhoneDriver connected to the remote address passed in. |
|
| Method Summary | ||
|---|---|---|
void |
close()
Deprecated. |
|
org.openqa.selenium.html5.LocalStorage |
getLocalStorage()
Deprecated. |
|
|
getScreenshotAs(org.openqa.selenium.OutputType<X> target)
Deprecated. |
|
org.openqa.selenium.html5.SessionStorage |
getSessionStorage()
Deprecated. |
|
void |
setFileDetector(FileDetector detector)
Deprecated. |
|
org.openqa.selenium.WebDriver.TargetLocator |
switchTo()
Deprecated. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final String DEFAULT_IWEBDRIVER_URL
| Constructor Detail |
|---|
public IPhoneDriver(CommandExecutor executor)
executor to communicate with the
iWebDriver app.
executor - The executor to use for communicating with the iPhone.
public IPhoneDriver(URL remoteAddress)
throws Exception
remoteAddress - The full URL of the remote client (device or simulator).
ExceptionIPhoneDriver(String)
public IPhoneDriver(String remoteAddress)
throws Exception
remoteAddress - The full URL of the remote client running iWebDriver.
ExceptionIPhoneDriver(URL)
public IPhoneDriver()
throws Exception
Exception
public IPhoneDriver(org.openqa.selenium.Capabilities ignored)
throws Exception
Exception| Method Detail |
|---|
public void setFileDetector(FileDetector detector)
setFileDetector in class RemoteWebDriverpublic void close()
close in interface org.openqa.selenium.WebDriverclose in class RemoteWebDriverpublic org.openqa.selenium.WebDriver.TargetLocator switchTo()
switchTo in interface org.openqa.selenium.WebDriverswitchTo in class RemoteWebDriverpublic <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> target)
getScreenshotAs in interface org.openqa.selenium.TakesScreenshotpublic 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.WebStorage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||