Class FirefoxDriverFactory

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

public class FirefoxDriverFactory extends AbstractDriverFactory
  • Constructor Details

    • FirefoxDriverFactory

      public FirefoxDriverFactory()
  • Method Details

    • create

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

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

      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

      protected String popularContentTypes()
    • collectFirefoxProfileFromSystemProperties

      protected Map<String,String> collectFirefoxProfileFromSystemProperties()
    • transferFirefoxProfileFromSystemProperties

      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)