Package com.thoughtworks.selenium
Interface CommandProcessor
- 
- All Known Implementing Classes:
 HttpCommandProcessor,WebDriverCommandProcessor
@Deprecated public interface CommandProcessorDeprecated.The RC interface will be removed in Selenium 3.0. Please migrate to using WebDriver.Provides a
doCommandmethod, which sends the command to the browser to be performed. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringdoCommand(java.lang.String command, java.lang.String[] args)Deprecated.Send the specified remote command to the browser to be performedbooleangetBoolean(java.lang.String string, java.lang.String[] strings)Deprecated.boolean[]getBooleanArray(java.lang.String string, java.lang.String[] strings)Deprecated.java.lang.NumbergetNumber(java.lang.String string, java.lang.String[] strings)Deprecated.java.lang.Number[]getNumberArray(java.lang.String string, java.lang.String[] strings)Deprecated.java.lang.StringgetRemoteControlServerLocation()Deprecated.The URL that the RemoteControl instance is allegedly running onjava.lang.StringgetString(java.lang.String string, java.lang.String[] strings)Deprecated.java.lang.String[]getStringArray(java.lang.String string, java.lang.String[] strings)Deprecated.voidsetExtensionJs(java.lang.String extensionJs)Deprecated.Sets extension Javascript for the sessionvoidstart()Deprecated.Starts a new Selenium testing sessionvoidstart(java.lang.Object optionsObject)Deprecated.Starts a new Selenium testing session with a configuration options objectvoidstart(java.lang.String optionsString)Deprecated.Starts a new Selenium testing session with a String, representing a configurationvoidstop()Deprecated.Ends the current Selenium testing session (normally killing the browser) 
 - 
 
- 
- 
Method Detail
- 
getRemoteControlServerLocation
java.lang.String getRemoteControlServerLocation()
Deprecated.The URL that the RemoteControl instance is allegedly running on- Returns:
 - the URL
 
 
- 
doCommand
java.lang.String doCommand(java.lang.String command, java.lang.String[] args)Deprecated.Send the specified remote command to the browser to be performed- Parameters:
 command- - the remote command verbargs- - the arguments to the remote command (depends on the verb)- Returns:
 - - the command result, defined by the remote JavaScript. "getX" style commands may return data from the browser; other "doX" style commands may just return "OK" or an error message.
 
 
- 
setExtensionJs
void setExtensionJs(java.lang.String extensionJs)
Deprecated.Sets extension Javascript for the session- Parameters:
 extensionJs- extension javascript
 
- 
start
void start()
Deprecated.Starts a new Selenium testing session 
- 
start
void start(java.lang.String optionsString)
Deprecated.Starts a new Selenium testing session with a String, representing a configuration- Parameters:
 optionsString- option string
 
- 
start
void start(java.lang.Object optionsObject)
Deprecated.Starts a new Selenium testing session with a configuration options object- Parameters:
 optionsObject- options object
 
- 
stop
void stop()
Deprecated.Ends the current Selenium testing session (normally killing the browser) 
- 
getString
java.lang.String getString(java.lang.String string, java.lang.String[] strings)Deprecated. 
- 
getStringArray
java.lang.String[] getStringArray(java.lang.String string, java.lang.String[] strings)Deprecated. 
- 
getNumber
java.lang.Number getNumber(java.lang.String string, java.lang.String[] strings)Deprecated. 
- 
getNumberArray
java.lang.Number[] getNumberArray(java.lang.String string, java.lang.String[] strings)Deprecated. 
- 
getBoolean
boolean getBoolean(java.lang.String string, java.lang.String[] strings)Deprecated. 
- 
getBooleanArray
boolean[] getBooleanArray(java.lang.String string, java.lang.String[] strings)Deprecated. 
 - 
 
 -