Class RemoteNode
java.lang.Object
org.openqa.selenium.grid.node.Node
org.openqa.selenium.grid.node.remote.RemoteNode
- All Implemented Interfaces:
HttpHandler
,Routable
,HasReadyState
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRemoteNode
(Tracer tracer, HttpClient.Factory clientFactory, NodeId id, URI externalUri, Secret registrationSecret, Collection<Capabilities> capabilities) -
Method Summary
Modifier and TypeMethodDescriptiondownloadFile
(HttpRequest req, SessionId id) void
drain()
getSession
(SessionId id) boolean
isReady()
boolean
boolean
isSupporting
(Capabilities capabilities) newSession
(CreateSessionRequest sessionRequest) void
uploadFile
(HttpRequest req, SessionId id) Methods inherited from class org.openqa.selenium.grid.node.Node
execute, getDownloadsFilesystem, getId, getNodeVersion, getOsInfo, getUploadsFilesystem, getUri, isDraining, matches
-
Field Details
-
JSON
-
-
Constructor Details
-
RemoteNode
public RemoteNode(Tracer tracer, HttpClient.Factory clientFactory, NodeId id, URI externalUri, Secret registrationSecret, Collection<Capabilities> capabilities)
-
-
Method Details
-
isReady
public boolean isReady() -
isSupporting
- Specified by:
isSupporting
in classNode
-
newSession
public Either<WebDriverException,CreateSessionResponse> newSession(CreateSessionRequest sessionRequest) - Specified by:
newSession
in classNode
-
isSessionOwner
- Specified by:
isSessionOwner
in classNode
-
getSession
- Specified by:
getSession
in classNode
- Throws:
NoSuchSessionException
-
executeWebDriverCommand
- Specified by:
executeWebDriverCommand
in classNode
-
uploadFile
- Specified by:
uploadFile
in classNode
-
downloadFile
- Specified by:
downloadFile
in classNode
-
stop
- Specified by:
stop
in classNode
- Throws:
NoSuchSessionException
-
getStatus
-
getHealthCheck
- Specified by:
getHealthCheck
in classNode
-
drain
public void drain()
-