Package org.openqa.selenium.remote
Class RemoteExecuteMethod
java.lang.Object
org.openqa.selenium.remote.RemoteExecuteMethod
- All Implemented Interfaces:
ExecuteMethod,org.openqa.selenium.WrapsDriver
@NullMarked
public class RemoteExecuteMethod
extends Object
implements ExecuteMethod, org.openqa.selenium.WrapsDriver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ObjectExecute the given command on the remote webdriver server.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openqa.selenium.remote.ExecuteMethod
execute, execute, executeAs
-
Constructor Details
-
RemoteExecuteMethod
-
-
Method Details
-
execute
Description copied from interface:ExecuteMethodExecute the given command on the remote webdriver server. Any exceptions will be thrown by the underlying execute method.- Specified by:
executein interfaceExecuteMethod- Parameters:
commandName- The remote command to executeparameters- The parameters to execute that command with- Returns:
- The result of
Response.getValue().
-
getWrappedDriver
- Specified by:
getWrappedDriverin interfaceorg.openqa.selenium.WrapsDriver
-