org.openqa.selenium.server.browserlaunchers
Class FirefoxCustomProfileLauncher

java.lang.Object
  extended by org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
      extended by org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher
All Implemented Interfaces:
org.openqa.selenium.browserlaunchers.BrowserLauncher
Direct Known Subclasses:
ProxyInjectionFirefoxCustomProfileLauncher

public class FirefoxCustomProfileLauncher
extends AbstractBrowserLauncher


Nested Class Summary
protected  class FirefoxCustomProfileLauncher.FileLockRemainedException
           
 
Field Summary
protected  boolean changeMaxConnections
           
 
Fields inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
browserConfigurationOptions, sessionId
 
Constructor Summary
FirefoxCustomProfileLauncher(Capabilities browserOptions, RemoteControlConfiguration configuration, String sessionId, org.openqa.selenium.browserlaunchers.locators.BrowserInstallation browserInstallation)
           
FirefoxCustomProfileLauncher(Capabilities browserOptions, RemoteControlConfiguration configuration, String sessionId, String browserLaunchLocation)
           
 
Method Summary
 void close()
          Implementation identical to that in FirefoxChromeLauncher.
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 setCommandLine(org.openqa.selenium.os.CommandLine p)
           
protected  void setCustomProfileDir(File value)
           
 
Methods inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
getCommandLineFlags, getCommandLineFlagsAsArray, getConfiguration, getPort, getTimeout, launchHTMLSuite, launchRemoteSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changeMaxConnections

protected boolean changeMaxConnections
Constructor Detail

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)
Method Detail

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.