|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher
public class FirefoxChromeLauncher
Nested Class Summary | |
---|---|
static class |
FirefoxChromeLauncher.ChromeUrlConvert
|
protected class |
FirefoxChromeLauncher.FileLockRemainedException
|
Field Summary | |
---|---|
static java.lang.String |
CHROME_URL
|
Fields inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher |
---|
sessionId |
Constructor Summary | |
---|---|
FirefoxChromeLauncher(RemoteControlConfiguration configuration,
java.lang.String sessionId)
|
|
FirefoxChromeLauncher(RemoteControlConfiguration configuration,
java.lang.String sessionId,
BrowserInstallation browserInstallation)
|
|
FirefoxChromeLauncher(RemoteControlConfiguration configuration,
java.lang.String sessionId,
java.lang.String browserString)
|
Method Summary | |
---|---|
void |
close()
Stop (kill) the browser process |
java.lang.Process |
getProcess()
Returns a process if there is an associated one running with this browser launcher (this is not required to be implementd). |
protected void |
killFirefoxProcess()
Wrapper to allow for stubbed-out testing |
protected void |
launch(java.lang.String url)
|
protected void |
launch(java.lang.String url,
BrowserConfigurationOptions config)
This is a default method and browser launchers should override this launch method to support per-test browserConfigurations If the browser configuration options object has no options, however, this method redirects to the launch(url) method. |
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,
BrowserConfigurationOptions config)
Start the browser and navigate directly to the specified URL using the supplied browser configurations |
protected void |
removeCustomProfileDir()
Wrapper to allow for stubbed-out testing |
static void |
setChangeMaxConnections(boolean changeMaxConnections)
|
protected void |
setCustomProfileDir(java.io.File value)
|
protected void |
setProcess(java.lang.Process p)
|
Methods inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher |
---|
getConfiguration, getPort, launchRemoteSession |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CHROME_URL
Constructor Detail |
---|
public FirefoxChromeLauncher(RemoteControlConfiguration configuration, java.lang.String sessionId)
public FirefoxChromeLauncher(RemoteControlConfiguration configuration, java.lang.String sessionId, java.lang.String browserString) throws InvalidBrowserExecutableException
InvalidBrowserExecutableException
public FirefoxChromeLauncher(RemoteControlConfiguration configuration, java.lang.String sessionId, BrowserInstallation browserInstallation)
Method Detail |
---|
protected void launch(java.lang.String url)
launch
in class AbstractBrowserLauncher
protected void launch(java.lang.String url, BrowserConfigurationOptions config)
AbstractBrowserLauncher
launch
in class AbstractBrowserLauncher
url
- The base url for starting seleniumconfig
- The browser configuration objectpublic void close()
BrowserLauncher
protected void removeCustomProfileDir() throws java.lang.RuntimeException
java.lang.RuntimeException
protected void killFirefoxProcess() throws FirefoxChromeLauncher.FileLockRemainedException
FirefoxChromeLauncher.FileLockRemainedException
public java.lang.Process getProcess()
BrowserLauncher
protected void setCustomProfileDir(java.io.File value)
protected void setProcess(java.lang.Process p)
public static void setChangeMaxConnections(boolean changeMaxConnections)
public void launchHTMLSuite(java.lang.String suiteUrl, java.lang.String browserURL, boolean multiWindow, java.lang.String defaultLogLevel)
BrowserLauncher
launchHTMLSuite
in interface BrowserLauncher
launchHTMLSuite
in class AbstractBrowserLauncher
suiteUrl
- the url within which to initiate the session (if needed)browserURL
- the url of the HTML suite to launchmultiWindow
- TODOdefaultLogLevel
- TODOpublic void launchRemoteSession(java.lang.String browserURL, boolean multiWindow, BrowserConfigurationOptions config)
BrowserLauncher
launchRemoteSession
in interface BrowserLauncher
launchRemoteSession
in class AbstractBrowserLauncher
multiWindow
- a flag to specify multiWindow modeconfig
- Test level browser configuration object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |