Class RemoteNode
- java.lang.Object
-
- org.openqa.selenium.grid.node.Node
-
- org.openqa.selenium.grid.node.remote.RemoteNode
-
- All Implemented Interfaces:
org.openqa.selenium.remote.http.HttpHandler,org.openqa.selenium.remote.http.Routable,HasReadyState
public class RemoteNode extends Node
-
-
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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddrain()org.openqa.selenium.remote.http.HttpResponseexecuteWebDriverCommand(org.openqa.selenium.remote.http.HttpRequest req)HealthCheckgetHealthCheck()SessiongetSession(org.openqa.selenium.remote.SessionId id)NodeStatusgetStatus()booleanisReady()booleanisSessionOwner(org.openqa.selenium.remote.SessionId id)booleanisSupporting(org.openqa.selenium.Capabilities capabilities)org.openqa.selenium.internal.Either<org.openqa.selenium.WebDriverException,CreateSessionResponse>newSession(CreateSessionRequest sessionRequest)voidstop(org.openqa.selenium.remote.SessionId id)org.openqa.selenium.remote.http.HttpResponseuploadFile(org.openqa.selenium.remote.http.HttpRequest req, org.openqa.selenium.remote.SessionId id)-
Methods inherited from class org.openqa.selenium.grid.node.Node
execute, getId, getNodeVersion, getOsInfo, getTemporaryFilesystem, getUri, isDraining, matches
-
-
-
-
Method Detail
-
isReady
public boolean isReady()
-
isSupporting
public boolean isSupporting(org.openqa.selenium.Capabilities capabilities)
- Specified by:
isSupportingin classNode
-
newSession
public org.openqa.selenium.internal.Either<org.openqa.selenium.WebDriverException,CreateSessionResponse> newSession(CreateSessionRequest sessionRequest)
- Specified by:
newSessionin classNode
-
isSessionOwner
public boolean isSessionOwner(org.openqa.selenium.remote.SessionId id)
- Specified by:
isSessionOwnerin classNode
-
getSession
public Session getSession(org.openqa.selenium.remote.SessionId id) throws org.openqa.selenium.NoSuchSessionException
- Specified by:
getSessionin classNode- Throws:
org.openqa.selenium.NoSuchSessionException
-
executeWebDriverCommand
public org.openqa.selenium.remote.http.HttpResponse executeWebDriverCommand(org.openqa.selenium.remote.http.HttpRequest req)
- Specified by:
executeWebDriverCommandin classNode
-
uploadFile
public org.openqa.selenium.remote.http.HttpResponse uploadFile(org.openqa.selenium.remote.http.HttpRequest req, org.openqa.selenium.remote.SessionId id)- Specified by:
uploadFilein 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:
getHealthCheckin classNode
-
-