Class LocalWebDriverSupplier

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

    public class LocalWebDriverSupplier
    extends WebDriverManagerWebDriverSupplier
    A WebDriverSupplier for locally installed browser instances. Uses WebDriverManager to set up the local binary and create the WebDriver.
    • Constructor Detail

      • LocalWebDriverSupplier

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

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