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 Details

    • Factory

      public Factory(org.openqa.selenium.remote.tracing.Tracer tracer, Predicate<org.openqa.selenium.Capabilities> key, String serviceClassName)
  • Method Details

    • test

      public boolean test(org.openqa.selenium.Capabilities capabilities)
    • apply

      public Optional<ActiveSession> apply(CreateSessionRequest sessionRequest)
    • 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 class RemoteSession.Factory<org.openqa.selenium.remote.service.DriverService>
    • toString

      public String toString()
      Overrides:
      toString in class Object