public class DrivenSeleniumLauncher extends Object implements BrowserLauncher
| Constructor and Description |
|---|
DrivenSeleniumLauncher(org.openqa.selenium.Capabilities capabilities,
RemoteControlConfiguration rcConfig,
String sessionId,
String browserStartPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stop (kill) the browser process
|
protected String |
getSessionId() |
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
|
void |
setDriverSessions(DriverSessions sessions) |
public DrivenSeleniumLauncher(org.openqa.selenium.Capabilities capabilities,
RemoteControlConfiguration rcConfig,
String sessionId,
String browserStartPath)
public void setDriverSessions(DriverSessions sessions)
public void launchRemoteSession(String url)
BrowserLauncherlaunchRemoteSession in interface BrowserLauncherurl - URLpublic void launchHTMLSuite(String suiteUrl, String baseUrl)
BrowserLauncherlaunchHTMLSuite in interface BrowserLaunchersuiteUrl - the url of the HTML suite to launchbaseUrl - the url within which to initiate the session (if needed)public void close()
BrowserLauncherclose in interface BrowserLauncherprotected String getSessionId()
Copyright © 2015. All rights reserved.