org.openqa.selenium.iphone
Class IPhoneSimulatorBinary
java.lang.Object
org.openqa.selenium.remote.internal.SubProcess
org.openqa.selenium.iphone.IPhoneSimulatorBinary
public class IPhoneSimulatorBinary
- extends SubProcess
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 in a headless mode 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:
- jmleyba@gmail.com (Jason Leyba)
|
Constructor Summary |
IPhoneSimulatorBinary(java.io.File iWebDriverApp)
Creates a new IPhoneSimulatorBinary that will run the given application on the iPhone
Simulator. |
|
Method Summary |
void |
shutdown()
Kills iWebDriver and the iPhone Simulator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IPhoneSimulatorBinary
public IPhoneSimulatorBinary(java.io.File iWebDriverApp)
throws java.io.IOException
- 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 immedidate child of the iwebDriver.app directory.
- Throws:
java.io.IOException - If an I/O error occurs.
shutdown
public void shutdown()
- Kills iWebDriver and the iPhone Simulator.
- Overrides:
shutdown in class SubProcess
- See Also:
SubProcess.shutdown()
Copyright © 2011. All Rights Reserved.