Class FirefoxDriverFactory

java.lang.Object
com.codeborne.selenide.webdriver.AbstractDriverFactory
com.codeborne.selenide.webdriver.FirefoxDriverFactory
All Implemented Interfaces:
DriverFactory

@ParametersAreNonnullByDefault public class FirefoxDriverFactory extends AbstractDriverFactory
  • Constructor Details

    • FirefoxDriverFactory

      public FirefoxDriverFactory()
  • Method Details

    • create

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

      @CheckReturnValue @Nonnull protected org.openqa.selenium.firefox.GeckoDriverService createDriverService(Config config)
    • createCapabilities

      @CheckReturnValue @Nonnull public org.openqa.selenium.firefox.FirefoxOptions createCapabilities(Config config, Browser browser, @Nullable org.openqa.selenium.Proxy proxy, @Nullable File browserDownloadsFolder)
    • setHeadless

      protected void setHeadless(Config config, org.openqa.selenium.firefox.FirefoxOptions initialOptions)
    • setupBrowserBinary

      protected void setupBrowserBinary(Config config, org.openqa.selenium.firefox.FirefoxOptions firefoxOptions)
    • setupPreferences

      protected void setupPreferences(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions)
    • setupDownloadsFolder

      protected void setupDownloadsFolder(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions, @Nullable File browserDownloadsFolder)
    • popularContentTypes

      @CheckReturnValue @Nonnull protected String popularContentTypes()
    • collectFirefoxProfileFromSystemProperties

      @CheckReturnValue @Nonnull protected Map<String,String> collectFirefoxProfileFromSystemProperties()
    • transferFirefoxProfileFromSystemProperties

      @Nonnull @CheckReturnValue protected Optional<org.openqa.selenium.firefox.FirefoxProfile> transferFirefoxProfileFromSystemProperties(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions)
    • setCapability

      protected void setCapability(org.openqa.selenium.firefox.FirefoxProfile profile, String capability, String value)