public class RemoteNode extends Node
| Modifier and Type | Field and Description |
|---|---|
static org.openqa.selenium.json.Json |
JSON |
| Constructor and Description |
|---|
RemoteNode(org.openqa.selenium.remote.tracing.DistributedTracer tracer,
org.openqa.selenium.remote.http.HttpClient.Factory clientFactory,
java.util.UUID id,
java.net.URI externalUri,
java.util.Collection<org.openqa.selenium.Capabilities> capabilities) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeWebDriverCommand(org.openqa.selenium.remote.http.HttpRequest req,
org.openqa.selenium.remote.http.HttpResponse resp) |
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) |
public RemoteNode(org.openqa.selenium.remote.tracing.DistributedTracer tracer,
org.openqa.selenium.remote.http.HttpClient.Factory clientFactory,
java.util.UUID id,
java.net.URI externalUri,
java.util.Collection<org.openqa.selenium.Capabilities> capabilities)
public boolean isSupporting(org.openqa.selenium.Capabilities capabilities)
isSupporting in class Nodepublic java.util.Optional<CreateSessionResponse> newSession(CreateSessionRequest sessionRequest)
newSession in class Nodeprotected boolean isSessionOwner(org.openqa.selenium.remote.SessionId id)
isSessionOwner in class Nodepublic Session getSession(org.openqa.selenium.remote.SessionId id) throws org.openqa.selenium.NoSuchSessionException
getSession in class Nodeorg.openqa.selenium.NoSuchSessionExceptionpublic void executeWebDriverCommand(org.openqa.selenium.remote.http.HttpRequest req,
org.openqa.selenium.remote.http.HttpResponse resp)
executeWebDriverCommand in class Nodepublic void stop(org.openqa.selenium.remote.SessionId id)
throws org.openqa.selenium.NoSuchSessionException
public NodeStatus getStatus()
public HealthCheck getHealthCheck()
getHealthCheck in class Node