org.openqa.selenium.server.browserlaunchers
Class AbstractBrowserLauncher
java.lang.Object
org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
- All Implemented Interfaces:
- BrowserLauncher
- Direct Known Subclasses:
- CustomBrowserLauncher, FirefoxChromeLauncher, FirefoxCustomProfileLauncher, GoogleChromeLauncher, InternetExplorerCustomProxyLauncher, KonquerorLauncher, OperaCustomProfileLauncher, SafariCustomProfileLauncher
public abstract class AbstractBrowserLauncher
- extends java.lang.Object
- implements BrowserLauncher
Runs the specified command path to start the browser, and kills the process to quit.
- Version:
- $Revision: 189 $
- Author:
- Paul Hammant
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessionId
protected java.lang.String sessionId
browserConfigurationOptions
protected BrowserConfigurationOptions browserConfigurationOptions
AbstractBrowserLauncher
public AbstractBrowserLauncher(java.lang.String sessionId,
RemoteControlConfiguration configuration,
BrowserConfigurationOptions browserOptions)
launchHTMLSuite
public void launchHTMLSuite(java.lang.String suiteUrl,
java.lang.String browserURL)
- Description copied from interface:
BrowserLauncher
- Start the browser in Selenese mode, auto-running the specified HTML suite
- Specified by:
launchHTMLSuite
in interface BrowserLauncher
- Parameters:
suiteUrl
- the url of the HTML suite to launchbrowserURL
- the url within which to initiate the session (if needed)
launchRemoteSession
public void launchRemoteSession(java.lang.String browserURL)
- Description copied from interface:
BrowserLauncher
- Start the browser and navigate directly to the specified URL using the supplied browser configurations
- Specified by:
launchRemoteSession
in interface BrowserLauncher
launch
protected abstract void launch(java.lang.String url)
getConfiguration
public RemoteControlConfiguration getConfiguration()
getPort
public int getPort()
getTimeout
protected int getTimeout()
getCommandLineFlags
protected java.lang.String getCommandLineFlags()
Copyright © 2010. All Rights Reserved.