interface CommandExecutor

Handles the execution of WebDriver commands.

Instance Methods

execute(command, callback)code ยป

Executes the given command. If there is an error executing the command, the provided callback will be invoked with the offending error. Otherwise, the callback will be invoked with a null Error and non-null bot.response.ResponseObject object.

Parameters
commandwebdriver.Command

The command to execute.

callbackfunction(Error, {status: number, value: *}=): ?

the function to invoke when the command response is ready.