org.openqa.selenium.server.browserlaunchers
Interface BrowserLauncher

All Known Implementing Classes:
AbstractBrowserLauncher, DestroyableRuntimeExecutingBrowserLauncher, FirefoxChromeLauncher, FirefoxCustomProfileLauncher, HTABrowserLauncher, InternetExplorerCustomProxyLauncher, KonquerorLauncher, MockBrowserLauncher, OperaCustomProfileLauncher, ProxyInjectionFirefoxCustomProfileLauncher, ProxyInjectionInternetExplorerCustomProxyLauncher, SafariCustomProfileLauncher

public interface BrowserLauncher

The launcher interface for classes that will start/stop the browser process.

Version:
$Revision: 732 $
Author:
Paul Hammant

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 startURL, java.lang.String suiteUrl, boolean multiWindow, java.lang.String defaultLogLevel)
          Start the browser in Selenese mode, auto-running the specified HTML suite
 void launchRemoteSession(java.lang.String url, boolean multiWindow)
          Start the browser and navigate directly to the specified URL
 

Method Detail

launchRemoteSession

void launchRemoteSession(java.lang.String url,
                         boolean multiWindow)
Start the browser and navigate directly to the specified URL

Parameters:
multiWindow - TODO

launchHTMLSuite

void launchHTMLSuite(java.lang.String startURL,
                     java.lang.String suiteUrl,
                     boolean multiWindow,
                     java.lang.String defaultLogLevel)
Start the browser in Selenese mode, auto-running the specified HTML suite

Parameters:
startURL - the url within which to initiate the session (if needed)
suiteUrl - the url of the HTML suite to launch
multiWindow - TODO
defaultLogLevel - TODO

close

void close()
Stop (kill) the browser process


getProcess

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

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


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