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() |
WebDriver |
create(Config config,
Browser browser,
Proxy proxy,
java.io.File browserDownloadsFolder) |
FirefoxOptions |
createCapabilities(Config config,
Browser browser,
Proxy proxy,
java.io.File browserDownloadsFolder) |
protected GeckoDriverService |
createDriverService(Config config) |
protected java.lang.String |
popularContentTypes() |
protected void |
setCapability(FirefoxProfile profile,
java.lang.String capability,
java.lang.String value) |
protected void |
setupBrowserBinary(Config config,
FirefoxOptions firefoxOptions) |
protected void |
setupDownloadsFolder(FirefoxOptions firefoxOptions,
java.io.File browserDownloadsFolder) |
protected void |
setupPreferences(FirefoxOptions firefoxOptions) |
void |
setupWebdriverBinary() |
protected void |
transferFirefoxProfileFromSystemProperties(FirefoxOptions firefoxOptions,
java.util.Map<java.lang.String,java.lang.String> ffProfile) |
convertStringToNearestObjectType, createCommonCapabilities, isBoolean, isInteger, isSystemPropertyNotSet, majorVersion, transferCapabilitiesFromSystemProperties, webdriverLogpublic void setupWebdriverBinary()
public WebDriver create(Config config, Browser browser, Proxy proxy, java.io.File browserDownloadsFolder)
protected GeckoDriverService createDriverService(Config config)
public FirefoxOptions createCapabilities(Config config, Browser browser, Proxy proxy, java.io.File browserDownloadsFolder)
protected void setupBrowserBinary(Config config, FirefoxOptions firefoxOptions)
protected void setupPreferences(FirefoxOptions firefoxOptions)
protected void setupDownloadsFolder(FirefoxOptions firefoxOptions,
java.io.File browserDownloadsFolder)
protected java.lang.String popularContentTypes()
protected java.util.Map<java.lang.String,java.lang.String> collectFirefoxProfileFromSystemProperties()
protected void transferFirefoxProfileFromSystemProperties(FirefoxOptions firefoxOptions,
java.util.Map<java.lang.String,java.lang.String> ffProfile)
protected void setCapability(FirefoxProfile profile,
java.lang.String capability,
java.lang.String value)