Class Index | File Index

Classes


Class webdriver.Command


Defined in: command.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Describes a command to be executed by the WebDriverJS framework.
Method Summary
Method Attributes Method Name and Description
 
 
Returns a named command parameter.
 
 
setParameter(name, value)
Sets a parameter to send with this command.
 
setParameters(parameters)
Sets the parameters for this command.
Class Detail
webdriver.Command(name)
Describes a command to be executed by the WebDriverJS framework.
Parameters:
{!webdriver.CommandName} name
The name of this command.
Method Detail
{!webdriver.CommandName} getName()
Returns:
{!webdriver.CommandName} This command's name.

{*} getParameter(key)
Returns a named command parameter.
Parameters:
{string} key
The parameter key to look up.
Returns:
{*} The parameter value, or undefined if it has not been set.

{!Object.<*>} getParameters()
Returns:
{!Object.<*>} The parameters to send with this command.

{!webdriver.Command} setParameter(name, value)
Sets a parameter to send with this command.
Parameters:
{string} name
The parameter name.
{*} value
The parameter value.
Returns:
{!webdriver.Command} A self reference.

{!webdriver.Command} setParameters(parameters)
Sets the parameters for this command.
Parameters:
{!Object.<*>} parameters
The command parameters.
Returns:
{!webdriver.Command} A self reference.

Documentation generated by JsDoc Toolkit 2.4.0 on Sat Jan 25 2014 14:42:01 GMT-0500 (EST)