public class AppiumCommandExecutor
extends java.lang.Object
implements org.openqa.selenium.remote.CommandExecutor
Constructor and Description |
---|
AppiumCommandExecutor(java.util.Map<java.lang.String,AppiumCommandInfo> additionalCommands,
org.openqa.selenium.remote.service.DriverService service) |
AppiumCommandExecutor(java.util.Map<java.lang.String,AppiumCommandInfo> additionalCommands,
org.openqa.selenium.remote.service.DriverService service,
org.openqa.selenium.remote.http.HttpClient.Factory httpClientFactory) |
AppiumCommandExecutor(java.util.Map<java.lang.String,AppiumCommandInfo> additionalCommands,
java.net.URL addressOfRemoteServer) |
AppiumCommandExecutor(java.util.Map<java.lang.String,AppiumCommandInfo> additionalCommands,
java.net.URL addressOfRemoteServer,
org.openqa.selenium.remote.http.HttpClient.Factory httpClientFactory)
Cretes an instance that sends requests and receives responses.
|
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.remote.Response |
execute(org.openqa.selenium.remote.Command command) |
java.net.URL |
getAddressOfRemoteServer() |
public AppiumCommandExecutor(java.util.Map<java.lang.String,AppiumCommandInfo> additionalCommands, java.net.URL addressOfRemoteServer, org.openqa.selenium.remote.http.HttpClient.Factory httpClientFactory)
additionalCommands
- is the mapped command repositoryaddressOfRemoteServer
- is the url to connect to the Appium remote/local serverhttpClientFactory
- is the http client factorypublic AppiumCommandExecutor(java.util.Map<java.lang.String,AppiumCommandInfo> additionalCommands, org.openqa.selenium.remote.service.DriverService service, org.openqa.selenium.remote.http.HttpClient.Factory httpClientFactory)
public AppiumCommandExecutor(java.util.Map<java.lang.String,AppiumCommandInfo> additionalCommands, java.net.URL addressOfRemoteServer)
public AppiumCommandExecutor(java.util.Map<java.lang.String,AppiumCommandInfo> additionalCommands, org.openqa.selenium.remote.service.DriverService service)
public java.net.URL getAddressOfRemoteServer()
public org.openqa.selenium.remote.Response execute(org.openqa.selenium.remote.Command command) throws java.io.IOException, org.openqa.selenium.WebDriverException
execute
in interface org.openqa.selenium.remote.CommandExecutor
java.io.IOException
org.openqa.selenium.WebDriverException