Class ServicedSession.Factory
java.lang.Object
org.openqa.selenium.grid.session.remote.RemoteSession.Factory<org.openqa.selenium.remote.service.DriverService>
org.openqa.selenium.grid.session.remote.ServicedSession.Factory
- All Implemented Interfaces:
Function<CreateSessionRequest,
,Optional<ActiveSession>> Predicate<org.openqa.selenium.Capabilities>
,SessionFactory
- Enclosing class:
- ServicedSession
public static class ServicedSession.Factory
extends RemoteSession.Factory<org.openqa.selenium.remote.service.DriverService>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(CreateSessionRequest sessionRequest) protected ServicedSession
newActiveSession
(org.openqa.selenium.remote.service.DriverService service, org.openqa.selenium.remote.Dialect downstream, org.openqa.selenium.remote.Dialect upstream, org.openqa.selenium.remote.http.HttpHandler codec, org.openqa.selenium.remote.SessionId id, Map<String, Object> capabilities) boolean
test
(org.openqa.selenium.Capabilities capabilities) toString()
Methods inherited from class org.openqa.selenium.grid.session.remote.RemoteSession.Factory
performHandshake
-
Constructor Details
-
Factory
-
-
Method Details
-
test
public boolean test(org.openqa.selenium.Capabilities capabilities) -
apply
-
newActiveSession
protected ServicedSession newActiveSession(org.openqa.selenium.remote.service.DriverService service, org.openqa.selenium.remote.Dialect downstream, org.openqa.selenium.remote.Dialect upstream, org.openqa.selenium.remote.http.HttpHandler codec, org.openqa.selenium.remote.SessionId id, Map<String, Object> capabilities) - Specified by:
newActiveSession
in classRemoteSession.Factory<org.openqa.selenium.remote.service.DriverService>
-
toString
-