Class LocalNode
- java.lang.Object
-
- org.openqa.selenium.grid.node.Node
-
- org.openqa.selenium.grid.node.local.LocalNode
-
- All Implemented Interfaces:
org.openqa.selenium.remote.http.HttpHandler
,org.openqa.selenium.remote.http.Routable
public class LocalNode extends Node
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LocalNode.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocalNode.Builder
builder(io.opentracing.Tracer tracer, EventBus bus, org.openqa.selenium.remote.http.HttpClient.Factory httpClientFactory, java.net.URI uri)
org.openqa.selenium.remote.http.HttpResponse
executeWebDriverCommand(org.openqa.selenium.remote.http.HttpRequest req)
int
getCurrentSessionCount()
HealthCheck
getHealthCheck()
Session
getSession(org.openqa.selenium.remote.SessionId id)
NodeStatus
getStatus()
protected boolean
isSessionOwner(org.openqa.selenium.remote.SessionId id)
boolean
isSupporting(org.openqa.selenium.Capabilities capabilities)
java.util.Optional<CreateSessionResponse>
newSession(CreateSessionRequest sessionRequest)
void
stop(org.openqa.selenium.remote.SessionId id)
-
-
-
Method Detail
-
getCurrentSessionCount
public int getCurrentSessionCount()
-
isSupporting
public boolean isSupporting(org.openqa.selenium.Capabilities capabilities)
- Specified by:
isSupporting
in classNode
-
newSession
public java.util.Optional<CreateSessionResponse> newSession(CreateSessionRequest sessionRequest)
- Specified by:
newSession
in classNode
-
isSessionOwner
protected boolean isSessionOwner(org.openqa.selenium.remote.SessionId id)
- Specified by:
isSessionOwner
in classNode
-
getSession
public Session getSession(org.openqa.selenium.remote.SessionId id) throws org.openqa.selenium.NoSuchSessionException
- Specified by:
getSession
in classNode
- 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 classNode
-
stop
public void stop(org.openqa.selenium.remote.SessionId id) throws org.openqa.selenium.NoSuchSessionException
-
getStatus
public NodeStatus getStatus()
-
getHealthCheck
public HealthCheck getHealthCheck()
- Specified by:
getHealthCheck
in classNode
-
builder
public static LocalNode.Builder builder(io.opentracing.Tracer tracer, EventBus bus, org.openqa.selenium.remote.http.HttpClient.Factory httpClientFactory, java.net.URI uri)
-
-