Package org.openqa.selenium.remote
Class RemoteExecuteMethod
- java.lang.Object
-
- org.openqa.selenium.remote.RemoteExecuteMethod
-
- All Implemented Interfaces:
ExecuteMethod
public class RemoteExecuteMethod extends java.lang.Object implements ExecuteMethod
-
-
Constructor Summary
Constructors Constructor Description RemoteExecuteMethod(RemoteWebDriver driver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectexecute(java.lang.String commandName, java.util.Map<java.lang.String,?> parameters)Execute the given command on the remote webdriver server.
-
-
-
Constructor Detail
-
RemoteExecuteMethod
public RemoteExecuteMethod(RemoteWebDriver driver)
-
-
Method Detail
-
execute
public java.lang.Object execute(java.lang.String commandName, java.util.Map<java.lang.String,?> parameters)Description copied from interface:ExecuteMethodExecute the given command on the remote webdriver server. Any exceptions will be thrown by the underlying execute method.- Specified by:
executein interfaceExecuteMethod- Parameters:
commandName- The remote command to executeparameters- The parameters to execute that command with- Returns:
- The result of
Response.getValue().
-
-