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)
BrowserLauncher
launchRemoteSession
in interface BrowserLauncher
url
- URLpublic 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 close()
BrowserLauncher
close
in interface BrowserLauncher
protected String getSessionId()
Copyright © 2015. All rights reserved.