public class FirefoxWebDriverFactory extends EnvironmentWebDriverFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
FirefoxWebDriverFactory.Builder |
static interface |
FirefoxWebDriverFactory.FirefoxProfileAction
Interface defining a method that will be invoked after the profile instance
has been constructed and partially configured.
|
static interface |
FirefoxWebDriverFactory.InstanceConstructor<T> |
environmentSupplier| Modifier | Constructor and Description |
|---|---|
|
FirefoxWebDriverFactory() |
protected |
FirefoxWebDriverFactory(FirefoxWebDriverFactory.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyAdditionalPreferences(Map<String,Object> profilePreferences,
InetSocketAddress proxy,
net.lightbody.bmp.mitm.CertificateAndKeySource certificateAndKeySource,
org.openqa.selenium.firefox.FirefoxProfile profile)
Applies additional preferences, drawn from a map, to a profile.
|
static FirefoxWebDriverFactory.Builder |
builder() |
protected org.openqa.selenium.firefox.FirefoxOptions |
createFirefoxOptions() |
WebdrivingSession |
createWebdrivingSession(WebDriverConfig config)
Creates a webdriving session with the given configuration.
|
protected com.google.common.collect.ImmutableList<DeserializableCookie> |
getCookies() |
public FirefoxWebDriverFactory()
protected FirefoxWebDriverFactory(FirefoxWebDriverFactory.Builder builder)
protected com.google.common.collect.ImmutableList<DeserializableCookie> getCookies()
public WebdrivingSession createWebdrivingSession(WebDriverConfig config) throws IOException
WebDriverFactoryconfig - the configurationIOException - on I/O errorprotected org.openqa.selenium.firefox.FirefoxOptions createFirefoxOptions()
protected void applyAdditionalPreferences(Map<String,Object> profilePreferences, @Nullable InetSocketAddress proxy, @Nullable net.lightbody.bmp.mitm.CertificateAndKeySource certificateAndKeySource, org.openqa.selenium.firefox.FirefoxProfile profile)
profilePreferences - map of profile preference settingsproxy - the proxy socket addresscertificateAndKeySource - the certificate and key sourceprofile - the profilepublic static FirefoxWebDriverFactory.Builder builder()
Copyright © 2016–2018. All rights reserved.