public class MockBrowserLauncher extends Object implements BrowserLauncher, Runnable
Constructor and Description |
---|
MockBrowserLauncher(BrowserConfigurationOptions browserOptions,
RemoteControlConfiguration configuration,
String sessionId,
String command) |
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 startURL,
String suiteUrl)
Start the browser in Selenese mode, auto-running the specified HTML suite
|
void |
launchRemoteSession(String url)
Note that the browserConfigurationOptions object is ignored; This browser configuration is not supported for IE
|
void |
run() |
public MockBrowserLauncher(BrowserConfigurationOptions browserOptions, RemoteControlConfiguration configuration, String sessionId, String command)
public void launchHTMLSuite(String startURL, String suiteUrl)
BrowserLauncher
launchHTMLSuite
in interface BrowserLauncher
startURL
- the url of the HTML suite to launchsuiteUrl
- the url within which to initiate the session (if needed)public void close()
BrowserLauncher
close
in interface BrowserLauncher
public Process getProcess()
BrowserLauncher
getProcess
in interface BrowserLauncher
public void launchRemoteSession(String url)
launchRemoteSession
in interface BrowserLauncher
Copyright © 2012. All Rights Reserved.