org.openqa.selenium.server.browserlaunchers
Class HTABrowserLauncher

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

public class HTABrowserLauncher
extends java.lang.Object
implements BrowserLauncher


Constructor Summary
HTABrowserLauncher()
           
HTABrowserLauncher(int port, java.lang.String sessionId)
           
HTABrowserLauncher(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).
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTABrowserLauncher

public HTABrowserLauncher()

HTABrowserLauncher

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

HTABrowserLauncher

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

close

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

Specified by:
close in interface BrowserLauncher

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).

Specified by:
getProcess in interface BrowserLauncher
Returns:
a handle to a process if one is available, or null if one is not available or if no browser is running

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
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
multiWindow - TODO


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