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:
- org.openqa.selenium.browserlaunchers.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,
org.openqa.selenium.browserlaunchers.locators.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)
setCommandLine
protected void setCommandLine(org.openqa.selenium.os.CommandLine p)
setChangeMaxConnections
public static void setChangeMaxConnections(boolean changeMaxConnections)
Copyright © 2012. All Rights Reserved.