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:
BrowserLauncher
Direct Known Subclasses:
ProxyInjectionFirefoxCustomProfileLauncher

public class FirefoxCustomProfileLauncher
extends AbstractBrowserLauncher


Field Summary
protected  boolean changeMaxConnections
           
protected  LauncherUtils.ProxySetting proxySetting
           
 
Fields inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
sessionId
 
Constructor Summary
FirefoxCustomProfileLauncher(int port, java.lang.String sessionId)
           
FirefoxCustomProfileLauncher(int port, java.lang.String sessionId, java.lang.String browserLaunchLocation)
           
 
Method Summary
 void close()
          Stop (kill) the browser process
 java.lang.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 launch(java.lang.String url)
           
static void main(java.lang.String[] args)
           
static void setChangeMaxConnections(boolean changeMaxConnections)
           
 
Methods inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
launchHTMLSuite, launchRemoteSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proxySetting

protected LauncherUtils.ProxySetting proxySetting

changeMaxConnections

protected boolean changeMaxConnections
Constructor Detail

FirefoxCustomProfileLauncher

public FirefoxCustomProfileLauncher(int port,
                                    java.lang.String sessionId)

FirefoxCustomProfileLauncher

public FirefoxCustomProfileLauncher(int port,
                                    java.lang.String sessionId,
                                    java.lang.String browserLaunchLocation)
Method Detail

init

protected void init()

launch

protected void launch(java.lang.String url)
Specified by:
launch in class AbstractBrowserLauncher

close

public void close()
Description copied from interface: BrowserLauncher
Stop (kill) the browser process


getProcess

public java.lang.Process getProcess()
Description copied from interface: BrowserLauncher
Returns a process if there is an associated one running with this browser launcher (this is not required to be implementd).

Returns:
a handle to a process if one is available, or null if one is not available or if no browser is running

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

setChangeMaxConnections

public static void setChangeMaxConnections(boolean changeMaxConnections)


Copyright © {inceptionYear}-2007 null. All Rights Reserved.