Class LocalNode

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

    public class LocalNode
    extends Node
    • Field Detail

      • JSON

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

      • getCurrentSessionCount

        public int getCurrentSessionCount()
      • isSupporting

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

        protected 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
      • 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
      • builder

        public static LocalNode.Builder builder​(io.opentracing.Tracer tracer,
                                                EventBus bus,
                                                org.openqa.selenium.remote.http.HttpClient.Factory httpClientFactory,
                                                java.net.URI uri)