Class HttpCommandExecutor

    • Constructor Detail

      • HttpCommandExecutor

        public HttpCommandExecutor​(java.net.URL addressOfRemoteServer)
      • HttpCommandExecutor

        public HttpCommandExecutor​(ClientConfig config)
      • HttpCommandExecutor

        public HttpCommandExecutor​(java.util.Map<java.lang.String,​CommandInfo> additionalCommands,
                                   java.net.URL addressOfRemoteServer)
        Creates an HttpCommandExecutor that supports non-standard additionalCommands in addition to the standard.
        Parameters:
        additionalCommands - additional commands to allow the command executor to process
        addressOfRemoteServer - URL of remote end Selenium server
      • HttpCommandExecutor

        public HttpCommandExecutor​(java.util.Map<java.lang.String,​CommandInfo> additionalCommands,
                                   java.net.URL addressOfRemoteServer,
                                   HttpClient.Factory httpClientFactory)
    • Method Detail

      • defineCommand

        protected void defineCommand​(java.lang.String commandName,
                                     CommandInfo info)
        It may be useful to extend the commands understood by this HttpCommandExecutor at run time, and this can be achieved via this method. Note, this is protected, and expected usage is for subclasses only to call this.
        Parameters:
        commandName - The name of the command to use.
        info - CommandInfo for the command name provided
      • getAddressOfRemoteServer

        public java.net.URL getAddressOfRemoteServer()