Class ServicedSession.Factory

    • Constructor Summary

      Constructors 
      Constructor Description
      Factory​(org.openqa.selenium.remote.tracing.Tracer tracer, java.util.function.Predicate<org.openqa.selenium.Capabilities> key, java.lang.String serviceClassName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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, org.openqa.selenium.remote.http.HttpHandler 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • Factory

        public Factory​(org.openqa.selenium.remote.tracing.Tracer tracer,
                       java.util.function.Predicate<org.openqa.selenium.Capabilities> key,
                       java.lang.String serviceClassName)
    • Method Detail

      • test

        public boolean test​(org.openqa.selenium.Capabilities capabilities)
      • 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,
                                                   java.util.Map<java.lang.String,​java.lang.Object> capabilities)
        Specified by:
        newActiveSession in class RemoteSession.Factory<org.openqa.selenium.remote.service.DriverService>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object