org.openqa.selenium.server.browserlaunchers
Class FirefoxCustomProfileLauncher
java.lang.Object
org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher
- All Implemented Interfaces:
- BrowserLauncher
- Direct Known Subclasses:
- ProxyInjectionFirefoxCustomProfileLauncher
public class FirefoxCustomProfileLauncher
- extends AbstractBrowserLauncher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
changeMaxConnections
protected boolean changeMaxConnections
FirefoxCustomProfileLauncher
public FirefoxCustomProfileLauncher(Capabilities browserOptions,
RemoteControlConfiguration configuration,
String sessionId,
String browserLaunchLocation)
throws InvalidBrowserExecutableException
- Throws:
InvalidBrowserExecutableException
FirefoxCustomProfileLauncher
public FirefoxCustomProfileLauncher(Capabilities browserOptions,
RemoteControlConfiguration configuration,
String sessionId,
BrowserInstallation browserInstallation)
init
protected void init()
launch
protected void launch(String url)
- Specified by:
launch
in class AbstractBrowserLauncher
close
public void close()
- Implementation identical to that in FirefoxChromeLauncher.
removeCustomProfileDir
protected void removeCustomProfileDir()
throws RuntimeException
- Wrapper to allow for stubbed-out testing
- Throws:
RuntimeException
killFirefoxProcess
protected void killFirefoxProcess()
throws FirefoxCustomProfileLauncher.FileLockRemainedException
- Wrapper to allow for stubbed-out testing
- Throws:
FirefoxCustomProfileLauncher.FileLockRemainedException
setCustomProfileDir
protected void setCustomProfileDir(File value)
setProcess
protected void setProcess(Process p)
getProcess
public Process getProcess()
setChangeMaxConnections
public static void setChangeMaxConnections(boolean changeMaxConnections)
Copyright © 2011. All Rights Reserved.