org.openqa.selenium.iphone
Class IPhoneSimulatorCommandExecutor
java.lang.Object
org.openqa.selenium.iphone.IPhoneSimulatorCommandExecutor
- All Implemented Interfaces:
- CommandExecutor
public class IPhoneSimulatorCommandExecutor
- extends Object
- implements CommandExecutor
A CommandExecutor
that communicates with an iPhone Simulator
running on localhost in a subprocess. Before executing each command, the
IPhoneSimulatorCommandExecutor
will verify that the simulator is
still running and throw an IPhoneSimulatorCommandExecutor.IPhoneSimulatorNotRunningException
if it
is not.
- Author:
- jmleyba@gmail.com (Jason Leyba)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IPhoneSimulatorCommandExecutor
public IPhoneSimulatorCommandExecutor(URL url,
IPhoneSimulatorBinary binary)
throws Exception
- Throws:
Exception
startClient
public void startClient()
stopClient
public void stopClient()
execute
public Response execute(Command command)
throws IOException
- Specified by:
execute
in interface CommandExecutor
- Throws:
IOException
Copyright © 2011. All Rights Reserved.