public class FirefoxLauncher extends Object implements BrowserLauncher
Constructor and Description |
---|
FirefoxLauncher(org.openqa.selenium.Capabilities browserOptions,
RemoteControlConfiguration configuration,
String sessionId,
String browserLaunchLocation) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Stop (kill) the browser process
|
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(org.openqa.selenium.Capabilities browserOptions, RemoteControlConfiguration configuration, String sessionId, String browserLaunchLocation) throws InvalidBrowserExecutableException
public void close()
BrowserLauncher
close
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 © 2014. All rights reserved.