Package org.openqa.selenium.remote
Interface ExecuteMethod
-
- All Known Implementing Classes:
RemoteExecuteMethod
public interface ExecuteMethodAn encapsulation ofRemoteWebDriver.executeScript(String, Object...).
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
execute
java.lang.Object execute(java.lang.String commandName, java.util.Map<java.lang.String,?> parameters)Execute the given command on the remote webdriver server. Any exceptions will be thrown by the underlying execute method.- Parameters:
commandName- The remote command to executeparameters- The parameters to execute that command with- Returns:
- The result of
Response.getValue().
-
-