Class DriverServiceSessionFactory
java.lang.Object
org.openqa.selenium.grid.node.config.DriverServiceSessionFactory
- All Implemented Interfaces:
Function<CreateSessionRequest,
,Either<WebDriverException, ActiveSession>> Predicate<Capabilities>
,SessionFactory
-
Constructor Summary
ConstructorDescriptionDriverServiceSessionFactory
(Tracer tracer, HttpClient.Factory clientFactory, Duration sessionTimeout, Capabilities stereotype, Predicate<Capabilities> predicate, DriverService.Builder<?, ?> builder) -
Method Summary
Modifier and TypeMethodDescriptionapply
(CreateSessionRequest sessionRequest) boolean
test
(Capabilities capabilities)
-
Constructor Details
-
DriverServiceSessionFactory
public DriverServiceSessionFactory(Tracer tracer, HttpClient.Factory clientFactory, Duration sessionTimeout, Capabilities stereotype, Predicate<Capabilities> predicate, DriverService.Builder<?, ?> builder)
-
-
Method Details
-
getStereotype
- Specified by:
getStereotype
in interfaceSessionFactory
-
test
- Specified by:
test
in interfacePredicate<Capabilities>
-
apply
- Specified by:
apply
in interfaceFunction<CreateSessionRequest,
Either<WebDriverException, ActiveSession>>
-