Class RelaySessionFactory
java.lang.Object
org.openqa.selenium.grid.node.relay.RelaySessionFactory
- All Implemented Interfaces:
Function<CreateSessionRequest,
,org.openqa.selenium.internal.Either<org.openqa.selenium.WebDriverException, ActiveSession>> Predicate<org.openqa.selenium.Capabilities>
,SessionFactory
-
Constructor Summary
ConstructorsConstructorDescriptionRelaySessionFactory
(org.openqa.selenium.remote.tracing.Tracer tracer, org.openqa.selenium.remote.http.HttpClient.Factory clientFactory, Duration sessionTimeout, URI serviceUri, URI serviceStatusUri, org.openqa.selenium.Capabilities stereotype) -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.internal.Either<org.openqa.selenium.WebDriverException,
ActiveSession> apply
(CreateSessionRequest sessionRequest) org.openqa.selenium.Capabilities
boolean
boolean
test
(org.openqa.selenium.Capabilities capabilities)
-
Constructor Details
-
RelaySessionFactory
-
-
Method Details
-
getStereotype
public org.openqa.selenium.Capabilities getStereotype()- Specified by:
getStereotype
in interfaceSessionFactory
-
test
public boolean test(org.openqa.selenium.Capabilities capabilities) -
apply
public org.openqa.selenium.internal.Either<org.openqa.selenium.WebDriverException,ActiveSession> apply(CreateSessionRequest sessionRequest) - Specified by:
apply
in interfaceFunction<CreateSessionRequest,
org.openqa.selenium.internal.Either<org.openqa.selenium.WebDriverException, ActiveSession>>
-
isServiceUp
public boolean isServiceUp()
-