@ParametersAreNonnullByDefault public class FirefoxDriverFactory extends AbstractDriverFactory
| Constructor and Description |
|---|
FirefoxDriverFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
collectFirefoxProfileFromSystemProperties() |
org.openqa.selenium.WebDriver |
create(Config config,
Browser browser,
org.openqa.selenium.Proxy proxy,
java.io.File browserDownloadsFolder) |
org.openqa.selenium.firefox.FirefoxOptions |
createCapabilities(Config config,
Browser browser,
org.openqa.selenium.Proxy proxy,
java.io.File browserDownloadsFolder) |
protected org.openqa.selenium.firefox.GeckoDriverService |
createDriverService(Config config) |
protected java.lang.String |
popularContentTypes() |
protected void |
setCapability(org.openqa.selenium.firefox.FirefoxProfile profile,
java.lang.String capability,
java.lang.String value) |
protected void |
setupBrowserBinary(Config config,
org.openqa.selenium.firefox.FirefoxOptions firefoxOptions) |
protected void |
setupDownloadsFolder(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions,
java.io.File browserDownloadsFolder) |
protected void |
setupPreferences(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions) |
void |
setupWebdriverBinary() |
protected void |
transferFirefoxProfileFromSystemProperties(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions,
java.util.Map<java.lang.String,java.lang.String> ffProfile) |
convertStringToNearestObjectType, createCommonCapabilities, isBoolean, isInteger, isSystemPropertyNotSet, majorVersion, transferCapabilitiesFromSystemProperties, webdriverLogpublic void setupWebdriverBinary()
@CheckReturnValue @Nonnull public org.openqa.selenium.WebDriver create(Config config, Browser browser, @Nullable org.openqa.selenium.Proxy proxy, java.io.File browserDownloadsFolder)
@CheckReturnValue @Nonnull protected org.openqa.selenium.firefox.GeckoDriverService createDriverService(Config config)
@CheckReturnValue @Nonnull public org.openqa.selenium.firefox.FirefoxOptions createCapabilities(Config config, Browser browser, @Nullable org.openqa.selenium.Proxy proxy, @Nullable java.io.File browserDownloadsFolder)
protected void setupBrowserBinary(Config config, org.openqa.selenium.firefox.FirefoxOptions firefoxOptions)
protected void setupPreferences(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions)
protected void setupDownloadsFolder(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions,
@Nullable
java.io.File browserDownloadsFolder)
@CheckReturnValue @Nonnull protected java.lang.String popularContentTypes()
@CheckReturnValue @Nonnull protected java.util.Map<java.lang.String,java.lang.String> collectFirefoxProfileFromSystemProperties()
protected void transferFirefoxProfileFromSystemProperties(org.openqa.selenium.firefox.FirefoxOptions firefoxOptions,
java.util.Map<java.lang.String,java.lang.String> ffProfile)
protected void setCapability(org.openqa.selenium.firefox.FirefoxProfile profile,
java.lang.String capability,
java.lang.String value)