public class MarionetteCapabilitiesFactory extends Object implements ICapabilitiesFactory
Constructor and Description |
---|
MarionetteCapabilitiesFactory() |
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) |
void |
handleExtractResources() |
protected void configProfile(org.openqa.selenium.firefox.FirefoxProfile profile, DriverConfig webDriverConfig)
public org.openqa.selenium.remote.DesiredCapabilities createCapabilities(DriverConfig webDriverConfig)
createCapabilities
in interface ICapabilitiesFactory
public void handleExtractResources() throws IOException
IOException
protected org.openqa.selenium.firefox.FirefoxProfile createFirefoxProfile(String path)
protected void extractDefaultProfile(String profilePath) throws IOException
profilePath
- The folder to store the profileIOException
protected org.openqa.selenium.firefox.FirefoxProfile getFirefoxProfile(DriverConfig webDriverConfig)
Copyright © 2016. All rights reserved.