public interface CommandProcessor
Provides a doCommand
method, which sends the command to the browser to be performed.
Modifier and Type | Method and Description |
---|---|
String |
doCommand(String command,
String[] args)
Send the specified remote command to the browser to be performed
|
boolean |
getBoolean(String string,
String[] strings) |
boolean[] |
getBooleanArray(String string,
String[] strings) |
Number |
getNumber(String string,
String[] strings) |
Number[] |
getNumberArray(String string,
String[] strings) |
String |
getRemoteControlServerLocation()
The URL that the RemoteControl instance is allegedly running on
|
String |
getString(String string,
String[] strings) |
String[] |
getStringArray(String string,
String[] strings) |
void |
setExtensionJs(String extensionJs)
Sets extension Javascript for the session
|
void |
start()
Starts a new Selenium testing session
|
void |
start(Object optionsObject)
Starts a new Selenium testing session with a configuration options object
|
void |
start(String optionsString)
Starts a new Selenium testing session with a String, representing a configuration
|
void |
stop()
Ends the current Selenium testing session (normally killing the browser)
|
String getRemoteControlServerLocation()
String doCommand(String command, String[] args)
command
- - the remote command verbargs
- - the arguments to the remote command (depends on the verb)void setExtensionJs(String extensionJs)
void start()
void start(String optionsString)
void start(Object optionsObject)
void stop()
Copyright © 2013. All Rights Reserved.