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