Interface NodeSessionFactoryProvider


public interface NodeSessionFactoryProvider
SPI for pluggable session factory providers that can be loaded via ServiceLoader. Implementations are discovered at runtime when placed on the classpath (e.g. via --ext).
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isEnabled(Config config)
    Returns true when this provider's configuration section is present and active.
    Map<org.openqa.selenium.Capabilities,Collection<SessionFactory>>
    loadFactories(Config config, org.openqa.selenium.remote.tracing.Tracer tracer, org.openqa.selenium.remote.http.HttpClient.Factory clientFactory)
    Creates session factories for the capabilities this provider handles.
  • Method Details

    • isEnabled

      boolean isEnabled(Config config)
      Returns true when this provider's configuration section is present and active.
    • loadFactories

      Map<org.openqa.selenium.Capabilities,Collection<SessionFactory>> loadFactories(Config config, org.openqa.selenium.remote.tracing.Tracer tracer, org.openqa.selenium.remote.http.HttpClient.Factory clientFactory)
      Creates session factories for the capabilities this provider handles.