public class FirefoxLauncher extends Object implements BrowserLauncher
Constructor and Description |
---|
FirefoxLauncher(BrowserConfigurationOptions browserOptions,
RemoteControlConfiguration configuration,
String sessionId,
String browserLaunchLocation) |
Modifier and Type | Method and Description |
---|---|
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
|
public FirefoxLauncher(BrowserConfigurationOptions browserOptions, RemoteControlConfiguration configuration, String sessionId, String browserLaunchLocation) throws InvalidBrowserExecutableException
public void close()
BrowserLauncher
close
in interface BrowserLauncher
public Process getProcess()
BrowserLauncher
getProcess
in interface BrowserLauncher
public void launchHTMLSuite(String suiteUrl, String baseUrl)
BrowserLauncher
launchHTMLSuite
in interface BrowserLauncher
suiteUrl
- the url of the HTML suite to launchbaseUrl
- the url within which to initiate the session (if needed)public void launchRemoteSession(String url)
BrowserLauncher
launchRemoteSession
in interface BrowserLauncher
Copyright © 2012. All Rights Reserved.