public class FirefoxCustomProfileLauncher extends AbstractBrowserLauncher
| Modifier and Type | Class and Description |
|---|---|
protected class |
FirefoxCustomProfileLauncher.FileLockRemainedException |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
changeMaxConnections |
protected LauncherUtils.ProxySetting |
proxySetting |
browserConfigurationOptions, sessionId| Constructor and Description |
|---|
FirefoxCustomProfileLauncher(BrowserConfigurationOptions browserOptions,
RemoteControlConfiguration configuration,
String sessionId,
BrowserInstallation browserInstallation) |
FirefoxCustomProfileLauncher(BrowserConfigurationOptions browserOptions,
RemoteControlConfiguration configuration,
String sessionId,
String browserLaunchLocation) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Implementation identical to that in FirefoxChromeLauncher.
|
Process |
getProcess()
Returns a process if there is an associated one running with this browser launcher (this is not required to be implementd).
|
protected void |
init() |
protected void |
killFirefoxProcess()
Wrapper to allow for stubbed-out testing
|
protected void |
launch(String url) |
protected void |
removeCustomProfileDir()
Wrapper to allow for stubbed-out testing
|
static void |
setChangeMaxConnections(boolean changeMaxConnections) |
protected void |
setCustomProfileDir(File value) |
protected void |
setProcess(Process p) |
getConfiguration, getPort, launchHTMLSuite, launchRemoteSessionprotected LauncherUtils.ProxySetting proxySetting
protected boolean changeMaxConnections
public FirefoxCustomProfileLauncher(BrowserConfigurationOptions browserOptions, RemoteControlConfiguration configuration, String sessionId, String browserLaunchLocation) throws InvalidBrowserExecutableException
public FirefoxCustomProfileLauncher(BrowserConfigurationOptions browserOptions, RemoteControlConfiguration configuration, String sessionId, BrowserInstallation browserInstallation)
protected void init()
protected void launch(String url)
launch in class AbstractBrowserLauncherpublic void close()
protected void removeCustomProfileDir()
throws RuntimeException
RuntimeExceptionprotected void killFirefoxProcess()
throws FirefoxCustomProfileLauncher.FileLockRemainedException
protected void setCustomProfileDir(File value)
protected void setProcess(Process p)
public Process getProcess()
BrowserLauncherpublic static void setChangeMaxConnections(boolean changeMaxConnections)
Copyright © 2012. All Rights Reserved.