org.openqa.selenium.remote
Class ExecuteMethod
java.lang.Object
org.openqa.selenium.remote.ExecuteMethod
public class ExecuteMethod
- extends Object
An encapsulation of
RemoteWebDriver.executeScript(String, Object...)
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecuteMethod
public ExecuteMethod(RemoteWebDriver driver)
execute
public Object execute(String commandName,
Map<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()
.
Copyright © 2012. All Rights Reserved.