org.openqa.selenium.server.browserlaunchers
Class FirefoxChromeLauncher

java.lang.Object
  extended by org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
      extended by org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher
All Implemented Interfaces:
BrowserLauncher

public class FirefoxChromeLauncher
extends AbstractBrowserLauncher


Nested Class Summary
static class FirefoxChromeLauncher.ChromeUrlConvert
           
 
Field Summary
 
Fields inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
sessionId
 
Constructor Summary
FirefoxChromeLauncher(int port, java.lang.String sessionId)
           
FirefoxChromeLauncher(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 launch(java.lang.String url)
           
 void launchHTMLSuite(java.lang.String suiteUrl, java.lang.String browserURL, boolean multiWindow, java.lang.String defaultLogLevel)
          Start the browser in Selenese mode, auto-running the specified HTML suite
 void launchRemoteSession(java.lang.String browserURL, boolean multiWindow)
          Start the browser and navigate directly to the specified URL
static void main(java.lang.String[] args)
           
static void setChangeMaxConnections(boolean changeMaxConnections)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FirefoxChromeLauncher

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

FirefoxChromeLauncher

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

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

setChangeMaxConnections

public static void setChangeMaxConnections(boolean changeMaxConnections)

main

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

launchHTMLSuite

public void launchHTMLSuite(java.lang.String suiteUrl,
                            java.lang.String browserURL,
                            boolean multiWindow,
                            java.lang.String defaultLogLevel)
Description copied from interface: BrowserLauncher
Start the browser in Selenese mode, auto-running the specified HTML suite

Specified by:
launchHTMLSuite in interface BrowserLauncher
Overrides:
launchHTMLSuite in class AbstractBrowserLauncher
Parameters:
suiteUrl - the url within which to initiate the session (if needed)
browserURL - the url of the HTML suite to launch
multiWindow - TODO
defaultLogLevel - TODO

launchRemoteSession

public void launchRemoteSession(java.lang.String browserURL,
                                boolean multiWindow)
Description copied from interface: BrowserLauncher
Start the browser and navigate directly to the specified URL

Specified by:
launchRemoteSession in interface BrowserLauncher
Overrides:
launchRemoteSession in class AbstractBrowserLauncher
multiWindow - TODO


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