org.openqa.selenium.remote
Interface ExecuteMethod

All Known Implementing Classes:
RemoteExecuteMethod

public interface ExecuteMethod

An encapsulation of RemoteWebDriver.executeScript(String, Object...).


Method Summary
 Object execute(String commandName, Map<String,?> parameters)
          Execute the given command on the remote webdriver server.
 

Method Detail

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 execute
parameters - The parameters to execute that command with
Returns:
The result of Response.getValue().


Copyright © 2012. All Rights Reserved.