|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openqa.selenium.server.browserlaunchers.MockBrowserLauncher
public class MockBrowserLauncher
Constructor Summary | |
---|---|
MockBrowserLauncher(RemoteControlConfiguration configuration,
java.lang.String sessionId)
|
|
MockBrowserLauncher(RemoteControlConfiguration configuration,
java.lang.String sessionId,
java.lang.String command)
|
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). |
void |
launchHTMLSuite(java.lang.String startURL,
java.lang.String suiteUrl,
boolean multiWindow,
java.lang.String defaultLogLevel)
Start the browser in Selenese mode, auto-running the specified HTML suite |
void |
launchRemoteSession(java.lang.String url,
boolean multiWindow)
Start the browser and navigate directly to the specified URL |
void |
launchRemoteSession(java.lang.String url,
boolean multiWindow,
BrowserConfigurationOptions browserConfigurationOptions)
Note that the browserConfigurationOptions object is ignored; This browser configuration is not supported for IE |
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockBrowserLauncher(RemoteControlConfiguration configuration, java.lang.String sessionId)
public MockBrowserLauncher(RemoteControlConfiguration configuration, java.lang.String sessionId, java.lang.String command)
Method Detail |
---|
public void launchRemoteSession(java.lang.String url, boolean multiWindow)
BrowserLauncher
launchRemoteSession
in interface BrowserLauncher
multiWindow
- TODOpublic void launchHTMLSuite(java.lang.String startURL, java.lang.String suiteUrl, boolean multiWindow, java.lang.String defaultLogLevel)
BrowserLauncher
launchHTMLSuite
in interface BrowserLauncher
startURL
- the url within which to initiate the session (if needed)suiteUrl
- the url of the HTML suite to launchmultiWindow
- TODOdefaultLogLevel
- TODOpublic void close()
BrowserLauncher
close
in interface BrowserLauncher
public java.lang.Process getProcess()
BrowserLauncher
getProcess
in interface BrowserLauncher
public void run()
run
in interface java.lang.Runnable
public void launchRemoteSession(java.lang.String url, boolean multiWindow, BrowserConfigurationOptions browserConfigurationOptions)
launchRemoteSession
in interface BrowserLauncher
multiWindow
- a flag to specify multiWindow modebrowserConfigurationOptions
- Test level browser configuration object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |