org.openqa.selenium.server.browserlaunchers
Class AbstractBrowserLauncher
java.lang.Object
org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
- All Implemented Interfaces:
- BrowserLauncher
- Direct Known Subclasses:
- DestroyableRuntimeExecutingBrowserLauncher, FirefoxChromeLauncher, FirefoxCustomProfileLauncher, 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
Field Summary |
protected java.lang.String |
sessionId
|
Method Summary |
protected abstract void |
launch(java.lang.String url)
|
void |
launchHTMLSuite(java.lang.String suiteUrl,
java.lang.String browserURL,
boolean multiWindow,
java.lang.String defaultLogLevel)
Start the browser in Selenese mode, auto-running the specified HTML suite |
void |
launchRemoteSession(java.lang.String browserURL,
boolean multiWindow)
Start the browser and navigate directly to the specified URL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessionId
protected java.lang.String sessionId
AbstractBrowserLauncher
public AbstractBrowserLauncher(java.lang.String sessionId)
launch
protected abstract void launch(java.lang.String url)
launchHTMLSuite
public void launchHTMLSuite(java.lang.String suiteUrl,
java.lang.String browserURL,
boolean multiWindow,
java.lang.String defaultLogLevel)
- 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 within which to initiate the session (if needed)browserURL
- the url of the HTML suite to launchmultiWindow
- TODOdefaultLogLevel
- TODO
launchRemoteSession
public void launchRemoteSession(java.lang.String browserURL,
boolean multiWindow)
- Description copied from interface:
BrowserLauncher
- Start the browser and navigate directly to the specified URL
- Specified by:
launchRemoteSession
in interface BrowserLauncher
multiWindow
- TODO
Copyright © {inceptionYear}-2007 null. All Rights Reserved.