org.openqa.selenium.browserlaunchers
Interface BrowserLauncher


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
 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(String suiteUrl, String baseUrl)
          Start the browser in Selenese mode, auto-running the specified HTML suite
 void launchRemoteSession(String url)
          Start the browser and navigate directly to the specified URL using the supplied browser configurations
 

Method Detail

launchRemoteSession

void launchRemoteSession(String url)
Start the browser and navigate directly to the specified URL using the supplied browser configurations


launchHTMLSuite

void launchHTMLSuite(String suiteUrl,
                     String baseUrl)
Start the browser in Selenese mode, auto-running the specified HTML suite

Parameters:
suiteUrl - the url of the HTML suite to launch
baseUrl - the url within which to initiate the session (if needed)

close

void close()
Stop (kill) the browser process


getProcess

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 © 2011. All Rights Reserved.