Package com.codeborne.selenide.webdriver
Class FirefoxDriverFactory
java.lang.Object
com.codeborne.selenide.webdriver.AbstractDriverFactory
com.codeborne.selenide.webdriver.FirefoxDriverFactory
- All Implemented Interfaces:
DriverFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebDriver
create
(Config config, Browser browser, org.openqa.selenium.Proxy proxy, File browserDownloadsFolder) org.openqa.selenium.firefox.FirefoxOptions
createCapabilities
(Config config, Browser browser, org.openqa.selenium.Proxy proxy, File browserDownloadsFolder) protected org.openqa.selenium.firefox.GeckoDriverService
createDriverService
(Config config) protected String
protected void
setCapability
(org.openqa.selenium.firefox.FirefoxProfile profile, String capability, String value) protected void
setHeadless
(Config config, org.openqa.selenium.firefox.FirefoxOptions initialOptions) protected void
setupBrowserBinary
(Config config, org.openqa.selenium.firefox.FirefoxOptions firefoxOptions) protected void
setupDownloadsFolder
(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions, File browserDownloadsFolder) protected void
setupPreferences
(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions) protected Optional<org.openqa.selenium.firefox.FirefoxProfile>
transferFirefoxProfileFromSystemProperties
(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions) Methods inherited from class com.codeborne.selenide.webdriver.AbstractDriverFactory
cast, convertStringToNearestObjectType, createCommonCapabilities, createCommonCapabilities, isBoolean, isInteger, isSystemPropertyNotSet, majorVersion, merge, transferCapabilitiesFromSystemProperties, webdriverLog, withLog
-
Constructor Details
-
FirefoxDriverFactory
public FirefoxDriverFactory()
-
-
Method Details
-
create
-
createDriverService
@CheckReturnValue @Nonnull protected org.openqa.selenium.firefox.GeckoDriverService createDriverService(Config config) -
createCapabilities
-
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
-
collectFirefoxProfileFromSystemProperties
-
transferFirefoxProfileFromSystemProperties
@Nonnull @CheckReturnValue protected Optional<org.openqa.selenium.firefox.FirefoxProfile> transferFirefoxProfileFromSystemProperties(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions) -
setCapability
-