public abstract class AbstractBrowserLauncher extends Object implements BrowserLauncher
Modifier and Type | Field and Description |
---|---|
protected BrowserConfigurationOptions |
browserConfigurationOptions |
protected String |
sessionId |
Constructor and Description |
---|
AbstractBrowserLauncher(String sessionId,
RemoteControlConfiguration configuration,
BrowserConfigurationOptions browserOptions) |
Modifier and Type | Method and Description |
---|---|
RemoteControlConfiguration |
getConfiguration() |
int |
getPort() |
protected abstract void |
launch(String url) |
void |
launchHTMLSuite(String suiteUrl,
String browserURL)
Start the browser in Selenese mode, auto-running the specified HTML suite
|
void |
launchRemoteSession(String browserURL)
Start the browser and navigate directly to the specified URL using the supplied browser configurations
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getProcess
protected String sessionId
protected BrowserConfigurationOptions browserConfigurationOptions
public AbstractBrowserLauncher(String sessionId, RemoteControlConfiguration configuration, BrowserConfigurationOptions browserOptions)
public void launchHTMLSuite(String suiteUrl, String browserURL)
BrowserLauncher
launchHTMLSuite
in interface BrowserLauncher
suiteUrl
- the url of the HTML suite to launchbrowserURL
- the url within which to initiate the session (if needed)public void launchRemoteSession(String browserURL)
BrowserLauncher
launchRemoteSession
in interface BrowserLauncher
protected abstract void launch(String url)
public RemoteControlConfiguration getConfiguration()
public int getPort()
Copyright © 2012. All Rights Reserved.