public class FirefoxCapabilitiesFactory extends Object implements ICapabilitiesFactory
| Constructor and Description |
|---|
FirefoxCapabilitiesFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configProfile(org.openqa.selenium.firefox.FirefoxProfile profile,
DriverConfig webDriverConfig) |
org.openqa.selenium.remote.DesiredCapabilities |
createCapabilities(DriverConfig webDriverConfig)
Create firefox capabilities.
|
protected org.openqa.selenium.firefox.FirefoxProfile |
createFirefoxProfile(String path) |
protected void |
extractDefaultProfile(String profilePath)
extractDefaultProfile to a folder.
|
protected org.openqa.selenium.firefox.FirefoxProfile |
getFirefoxProfile(DriverConfig webDriverConfig) |
protected String |
getFirefoxProfilePath(String path) |
protected void configProfile(org.openqa.selenium.firefox.FirefoxProfile profile,
DriverConfig webDriverConfig)
public org.openqa.selenium.remote.DesiredCapabilities createCapabilities(DriverConfig webDriverConfig)
createCapabilities in interface ICapabilitiesFactoryprotected org.openqa.selenium.firefox.FirefoxProfile createFirefoxProfile(String path)
protected void extractDefaultProfile(String profilePath) throws IOException
profilePath - The folder to store the profileIOExceptionprotected org.openqa.selenium.firefox.FirefoxProfile getFirefoxProfile(DriverConfig webDriverConfig)
Copyright © 2015. All rights reserved.