org.openqa.selenium.remote
Class RemoteExecuteMethod

java.lang.Object
  extended by org.openqa.selenium.remote.RemoteExecuteMethod
All Implemented Interfaces:
ExecuteMethod

public class RemoteExecuteMethod
extends Object
implements ExecuteMethod


Constructor Summary
RemoteExecuteMethod(RemoteWebDriver driver)
           
 
Method Summary
 Object execute(String commandName, Map<String,?> parameters)
          Execute the given command on the remote webdriver server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteExecuteMethod

public RemoteExecuteMethod(RemoteWebDriver driver)
Method Detail

execute

public Object execute(String commandName,
                      Map<String,?> parameters)
Description copied from interface: ExecuteMethod
Execute the given command on the remote webdriver server. Any exceptions will be thrown by the underlying execute method.

Specified by:
execute in interface ExecuteMethod
Parameters:
commandName - The remote command to execute
parameters - The parameters to execute that command with
Returns:
The result of Response.getValue().


Copyright © 2012. All Rights Reserved.