public class FirefoxBrowserProvider extends LocalBrowserProvider
Automatically download, configure and start the WebDriver Manager and browser for Firefox.
See https://github.com/bonigarcia/webdrivermanager for details.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BROWSER_NAME |
| Constructor and Description |
|---|
FirefoxBrowserProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addProxyCapabilities(org.openqa.selenium.MutableCapabilities capabilities)
Add proxy settings to desired capabilities if specified in config file.
|
org.openqa.selenium.WebDriver |
createDriver()
For running portable firefox at same time as desktop version: 1.
|
protected java.lang.String |
getBrowserName()
The name of the browser as used in the configuration file to retrieve browser specific settings.
|
getBrowserExe, getClassOfValue, getPropertiesStartingWith, getProperty, getPropertyAsBoolean, getPropertyAsInteger, setBrowserSizeAndLocation, setupBrowserManager, toObjectpublic static final java.lang.String BROWSER_NAME
protected java.lang.String getBrowserName()
LocalBrowserProviderThe name of the browser as used in the configuration file to retrieve browser specific settings.
getBrowserName in class LocalBrowserProviderpublic org.openqa.selenium.WebDriver createDriver()
For running portable firefox at same time as desktop version: 1. Edit FirefoxPortable.ini (next to FirefoxPortable.exe) 2. If its not there then copy from “Other/Source” folder 3. Change AllowMultipleInstances=false to true
protected void addProxyCapabilities(org.openqa.selenium.MutableCapabilities capabilities)
LocalBrowserProviderAdd proxy settings to desired capabilities if specified in config file.
addProxyCapabilities in class LocalBrowserProvidercapabilities - Options