org.openqa.selenium.iphone
Class IPhoneSimulatorBinary
java.lang.Object
org.openqa.selenium.iphone.IPhoneSimulatorBinary
public class IPhoneSimulatorBinary
- extends Object
Handles launching the iWebDriver app on the iPhone Simulator in a subprocess.
Only one instance of the iPhone Simulator may be run at once, so all other instances will be
killed before a new one is started.
The iPhone Simulator will be run against the SDK specified by the webdriver.iphone.sdk
system property. A temporary directory will be used as the user home so the application need not
be pre-installed.
- Author:
- dawagner@gmail.com (Daniel Wagner-Hall)
|
Constructor Summary |
IPhoneSimulatorBinary(File iWebDriverApp)
Creates a new IPhoneSimulatorBinary that will run the given application on the iPhone
Simulator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IPhoneSimulatorBinary
public IPhoneSimulatorBinary(File iWebDriverApp)
- Creates a new IPhoneSimulatorBinary that will run the given application on the iPhone
Simulator. The simulator will be run using the SDK specified by the
webdriver.iphone.sdk system property.
- Parameters:
iWebDriverApp - Path to the executable to run on the simulator. This file should specify
the executable that is an immediate child of the iwebDriver.app directory.
- Throws:
IOException - If an I/O error occurs.
getIphoneSimPath
protected static String getIphoneSimPath()
launch
public void launch()
isRunning
public boolean isRunning()
shutdown
public void shutdown()
Copyright © 2013. All Rights Reserved.