Class DockerWebDriverSupplier

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.function.Supplier<org.openqa.selenium.WebDriver>

    public class DockerWebDriverSupplier
    extends WebDriverManagerWebDriverSupplier
    A WebDriverSupplier for Docker based browser instances. Uses WebDriverManager to manage the container and create the WebDriver.
    • Constructor Detail

      • DockerWebDriverSupplier

        public DockerWebDriverSupplier​(BrowserType browserType,
                                       org.openqa.selenium.Capabilities additionalCapabilities)
        Parameters:
        browserType - the BrowserType to be setup
        additionalCapabilities - additional Capabilities for the WebDriver
      • DockerWebDriverSupplier

        public DockerWebDriverSupplier​(BrowserType browserType)
        Parameters:
        browserType - the BrowserType to be setup