Class RemoteNode

  • All Implemented Interfaces:
    org.openqa.selenium.remote.http.HttpHandler, org.openqa.selenium.remote.http.Routable, HasReadyState

    public class RemoteNode
    extends Node
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.openqa.selenium.json.Json JSON  
    • Constructor Summary

      Constructors 
      Constructor Description
      RemoteNode​(org.openqa.selenium.remote.tracing.Tracer tracer, org.openqa.selenium.remote.http.HttpClient.Factory clientFactory, NodeId id, java.net.URI externalUri, Secret registrationSecret, java.util.Collection<org.openqa.selenium.Capabilities> capabilities)  
    • Field Detail

      • JSON

        public static final org.openqa.selenium.json.Json JSON
    • Constructor Detail

      • RemoteNode

        public RemoteNode​(org.openqa.selenium.remote.tracing.Tracer tracer,
                          org.openqa.selenium.remote.http.HttpClient.Factory clientFactory,
                          NodeId id,
                          java.net.URI externalUri,
                          Secret registrationSecret,
                          java.util.Collection<org.openqa.selenium.Capabilities> capabilities)
    • Method Detail

      • isReady

        public boolean isReady()
      • isSupporting

        public boolean isSupporting​(org.openqa.selenium.Capabilities capabilities)
        Specified by:
        isSupporting in class Node
      • isSessionOwner

        public boolean isSessionOwner​(org.openqa.selenium.remote.SessionId id)
        Specified by:
        isSessionOwner in class Node
      • getSession

        public Session getSession​(org.openqa.selenium.remote.SessionId id)
                           throws org.openqa.selenium.NoSuchSessionException
        Specified by:
        getSession in class Node
        Throws:
        org.openqa.selenium.NoSuchSessionException
      • executeWebDriverCommand

        public org.openqa.selenium.remote.http.HttpResponse executeWebDriverCommand​(org.openqa.selenium.remote.http.HttpRequest req)
        Specified by:
        executeWebDriverCommand in class Node
      • uploadFile

        public org.openqa.selenium.remote.http.HttpResponse uploadFile​(org.openqa.selenium.remote.http.HttpRequest req,
                                                                       org.openqa.selenium.remote.SessionId id)
        Specified by:
        uploadFile in class Node
      • stop

        public void stop​(org.openqa.selenium.remote.SessionId id)
                  throws org.openqa.selenium.NoSuchSessionException
        Specified by:
        stop in class Node
        Throws:
        org.openqa.selenium.NoSuchSessionException
      • drain

        public void drain()
        Specified by:
        drain in class Node