Class RemoteExecuteMethod

  • All Implemented Interfaces:
    ExecuteMethod, org.openqa.selenium.WrapsDriver

    public class RemoteExecuteMethod
    extends java.lang.Object
    implements ExecuteMethod, org.openqa.selenium.WrapsDriver
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface ExecuteMethod
        Parameters:
        commandName - The remote command to execute
        parameters - The parameters to execute that command with
        Returns:
        The result of Response.getValue().
      • getWrappedDriver

        public org.openqa.selenium.WebDriver getWrappedDriver()
        Specified by:
        getWrappedDriver in interface org.openqa.selenium.WrapsDriver