Class ChromeDriverFactory

All Implemented Interfaces:
DriverFactory

@ParametersAreNonnullByDefault public class ChromeDriverFactory extends AbstractChromiumDriverFactory
  • Constructor Details

    • ChromeDriverFactory

      public ChromeDriverFactory()
  • Method Details

    • create

      @CheckReturnValue @Nonnull public org.openqa.selenium.WebDriver create(Config config, Browser browser, @Nullable org.openqa.selenium.Proxy proxy, @Nullable File browserDownloadsFolder)
    • buildService

      @CheckReturnValue @Nonnull protected org.openqa.selenium.chrome.ChromeDriverService buildService(Config config)
    • createCapabilities

      @CheckReturnValue @Nonnull public org.openqa.selenium.chrome.ChromeOptions createCapabilities(Config config, Browser browser, @Nullable org.openqa.selenium.Proxy proxy, @Nullable File browserDownloadsFolder)
    • addHeadless

      protected void addHeadless(org.openqa.selenium.chrome.ChromeOptions options)
    • createChromeArguments

      @CheckReturnValue @Nonnull protected List<String> createChromeArguments(Config config, Browser browser)
    • excludeSwitches

      @CheckReturnValue @Nonnull protected String[] excludeSwitches(org.openqa.selenium.Capabilities capabilities)
    • mobileEmulation

      @CheckReturnValue @Nonnull protected Map<String,Object> mobileEmulation()