public class IPhoneSimulatorBinary extends Object
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.
| Constructor and Description |
|---|
IPhoneSimulatorBinary(File iWebDriverApp)
Creates a new IPhoneSimulatorBinary that will run the given application on the iPhone
Simulator.
|
public IPhoneSimulatorBinary(File iWebDriverApp)
webdriver.iphone.sdk system property.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.IOException - If an I/O error occurs.protected static String getIphoneSimPath()
public void launch()
public boolean isRunning()
public void shutdown()
Copyright © 2013. All Rights Reserved.