public abstract class AbstractBrowserLauncher extends Object implements BrowserLauncher
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.Capabilities |
browserConfigurationOptions |
protected String |
sessionId |
Constructor and Description |
---|
AbstractBrowserLauncher(String sessionId,
RemoteControlConfiguration configuration,
org.openqa.selenium.Capabilities browserOptions) |
Modifier and Type | Method and Description |
---|---|
protected String |
getCommandLineFlags()
Deprecated.
|
protected String[] |
getCommandLineFlagsAsArray() |
RemoteControlConfiguration |
getConfiguration() |
int |
getPort() |
protected long |
getTimeout() |
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
protected String sessionId
protected org.openqa.selenium.Capabilities browserConfigurationOptions
public AbstractBrowserLauncher(String sessionId, RemoteControlConfiguration configuration, org.openqa.selenium.Capabilities 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()
protected long getTimeout()
@Deprecated protected String getCommandLineFlags()
protected String[] getCommandLineFlagsAsArray()
Copyright © 2014. All rights reserved.