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(java.util.Set<org.openqa.selenium.remote.Dialect> downstreamDialects,
org.openqa.selenium.Capabilities capabilities) |
boolean |
isSupporting(org.openqa.selenium.Capabilities capabilities) |
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.grid.session.remote.SessionCodec codec,
org.openqa.selenium.remote.SessionId id,
java.util.Map<java.lang.String,java.lang.Object> capabilities) |
java.lang.String |
toString() |
performHandshake
public Factory(java.util.function.Predicate<org.openqa.selenium.Capabilities> key, java.lang.String serviceClassName)
public boolean isSupporting(org.openqa.selenium.Capabilities capabilities)
public java.util.Optional<ActiveSession> apply(java.util.Set<org.openqa.selenium.remote.Dialect> downstreamDialects, org.openqa.selenium.Capabilities capabilities)
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.grid.session.remote.SessionCodec 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