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, @Nullable org.openqa.selenium.Proxy proxy, @Nullable File browserDownloadsFolder) org.openqa.selenium.firefox.FirefoxOptions
createCapabilities
(Config config, Browser browser, @Nullable org.openqa.selenium.Proxy proxy, @Nullable 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, @Nullable 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, majorVersion, merge, transferCapabilitiesFromSystemProperties, webdriverLog, withLog
-
Constructor Details
-
FirefoxDriverFactory
public FirefoxDriverFactory()
-
-
Method Details
-
create
-
createDriverService
-
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
protected Optional<org.openqa.selenium.firefox.FirefoxProfile> transferFirefoxProfileFromSystemProperties(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions) -
setCapability
-