org.openqa.selenium.remote
Interface ExecuteMethod
- All Known Implementing Classes:
- RemoteExecuteMethod
public interface ExecuteMethod
An encapsulation of
RemoteWebDriver.executeScript(String, Object...)
.
execute
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.