public class HttpCommandExecutor extends Object implements CommandExecutor, NeedsLocalLogs
| 构造器和说明 |
|---|
HttpCommandExecutor(Map<String,CommandInfo> additionalCommands,
URL addressOfRemoteServer)
Creates an
HttpCommandExecutor that supports non-standard
additionalCommands in addition to the standard. |
HttpCommandExecutor(Map<String,CommandInfo> additionalCommands,
URL addressOfRemoteServer,
HttpClient.Factory httpClientFactory) |
HttpCommandExecutor(URL addressOfRemoteServer) |
public HttpCommandExecutor(URL addressOfRemoteServer)
public HttpCommandExecutor(Map<String,CommandInfo> additionalCommands, URL addressOfRemoteServer)
HttpCommandExecutor that supports non-standard
additionalCommands in addition to the standard.additionalCommands - additional commands to allow the command executor to processaddressOfRemoteServer - URL of remote end Selenium serverpublic HttpCommandExecutor(Map<String,CommandInfo> additionalCommands, URL addressOfRemoteServer, HttpClient.Factory httpClientFactory)
public void setLocalLogs(LocalLogs logs)
setLocalLogs 在接口中 NeedsLocalLogspublic URL getAddressOfRemoteServer()
public Response execute(Command command) throws IOException
execute 在接口中 CommandExecutorIOException