Class DockerSessionFactory

  • All Implemented Interfaces:
    java.util.function.Function<CreateSessionRequest,​org.openqa.selenium.internal.Either<org.openqa.selenium.WebDriverException,​ActiveSession>>, java.util.function.Predicate<org.openqa.selenium.Capabilities>, SessionFactory

    public class DockerSessionFactory
    extends java.lang.Object
    implements SessionFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      DockerSessionFactory​(org.openqa.selenium.remote.tracing.Tracer tracer, org.openqa.selenium.remote.http.HttpClient.Factory clientFactory, Docker docker, java.net.URI dockerUri, Image browserImage, org.openqa.selenium.Capabilities stereotype, Image videoImage, DockerAssetsPath assetsPath, java.lang.String networkName, boolean runningInDocker)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.openqa.selenium.internal.Either<org.openqa.selenium.WebDriverException,​ActiveSession> apply​(CreateSessionRequest sessionRequest)  
      boolean test​(org.openqa.selenium.Capabilities capabilities)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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

      • DockerSessionFactory

        public DockerSessionFactory​(org.openqa.selenium.remote.tracing.Tracer tracer,
                                    org.openqa.selenium.remote.http.HttpClient.Factory clientFactory,
                                    Docker docker,
                                    java.net.URI dockerUri,
                                    Image browserImage,
                                    org.openqa.selenium.Capabilities stereotype,
                                    Image videoImage,
                                    DockerAssetsPath assetsPath,
                                    java.lang.String networkName,
                                    boolean runningInDocker)
    • Method Detail

      • test

        public boolean test​(org.openqa.selenium.Capabilities capabilities)
        Specified by:
        test in interface java.util.function.Predicate<org.openqa.selenium.Capabilities>
      • apply

        public org.openqa.selenium.internal.Either<org.openqa.selenium.WebDriverException,​ActiveSession> apply​(CreateSessionRequest sessionRequest)
        Specified by:
        apply in interface java.util.function.Function<CreateSessionRequest,​org.openqa.selenium.internal.Either<org.openqa.selenium.WebDriverException,​ActiveSession>>