Class RelaySessionFactory

java.lang.Object
org.openqa.selenium.grid.node.relay.RelaySessionFactory
All Implemented Interfaces:
Function<CreateSessionRequest,org.openqa.selenium.internal.Either<org.openqa.selenium.WebDriverException,ActiveSession>>, Predicate<org.openqa.selenium.Capabilities>, SessionFactory

public class RelaySessionFactory extends Object implements SessionFactory
  • Constructor Details

    • RelaySessionFactory

      public RelaySessionFactory(org.openqa.selenium.remote.tracing.Tracer tracer, org.openqa.selenium.remote.http.HttpClient.Factory clientFactory, Duration sessionTimeout, URI serviceUri, URI serviceStatusUri, String serviceProtocolVersion, org.openqa.selenium.Capabilities stereotype)
  • Method Details

    • getStereotype

      public org.openqa.selenium.Capabilities getStereotype()
      Specified by:
      getStereotype in interface SessionFactory
    • test

      public boolean test(org.openqa.selenium.Capabilities capabilities)
      Specified by:
      test in interface 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 Function<CreateSessionRequest,org.openqa.selenium.internal.Either<org.openqa.selenium.WebDriverException,ActiveSession>>
    • isServiceUp

      public boolean isServiceUp()