public static class ServicedSession.Factory extends RemoteSession.Factory<org.openqa.selenium.remote.service.DriverService>
Constructor and Description |
---|
Factory(java.util.function.Predicate<org.openqa.selenium.Capabilities> key,
java.lang.String serviceClassName) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<ActiveSession> |
apply(CreateSessionRequest sessionRequest) |
protected ServicedSession |
newActiveSession(org.openqa.selenium.remote.service.DriverService service,
org.openqa.selenium.remote.Dialect downstream,
org.openqa.selenium.remote.Dialect upstream,
CommandHandler codec,
org.openqa.selenium.remote.SessionId id,
java.util.Map<java.lang.String,java.lang.Object> capabilities) |
boolean |
test(org.openqa.selenium.Capabilities capabilities) |
java.lang.String |
toString() |
performHandshake
public Factory(java.util.function.Predicate<org.openqa.selenium.Capabilities> key, java.lang.String serviceClassName)
public boolean test(org.openqa.selenium.Capabilities capabilities)
public java.util.Optional<ActiveSession> apply(CreateSessionRequest sessionRequest)
protected ServicedSession newActiveSession(org.openqa.selenium.remote.service.DriverService service, org.openqa.selenium.remote.Dialect downstream, org.openqa.selenium.remote.Dialect upstream, CommandHandler codec, org.openqa.selenium.remote.SessionId id, java.util.Map<java.lang.String,java.lang.Object> capabilities)
newActiveSession
in class RemoteSession.Factory<org.openqa.selenium.remote.service.DriverService>
public java.lang.String toString()
toString
in class java.lang.Object