org.openqa.selenium.server.browserlaunchers
Class ManualPromptUserLauncher

java.lang.Object
  extended byorg.openqa.selenium.server.browserlaunchers.ManualPromptUserLauncher
All Implemented Interfaces:
BrowserLauncher

public class ManualPromptUserLauncher
extends java.lang.Object
implements BrowserLauncher

Manually prompt the user to start a browser from the command line

Author:
dfabulich

Constructor Summary
ManualPromptUserLauncher(java.lang.String sessionId)
           
 
Method Summary
 void close()
          Stop (kill) the browser process
 void launch(java.lang.String url)
          Prints out a polite request on the console
 void launchHTMLSuite(java.lang.String suiteUrl, java.lang.String browserURL)
          Start the browser in Selenese mode, auto-running the specified HTML suite
 void launchRemoteSession(java.lang.String browserURL)
          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
 

Constructor Detail

ManualPromptUserLauncher

public ManualPromptUserLauncher(java.lang.String sessionId)
Method Detail

launch

public void launch(java.lang.String url)
Prints out a polite request on the console


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 within which to initiate the session (if needed)
browserURL - the url of the HTML suite to launch

launchRemoteSession

public void launchRemoteSession(java.lang.String browserURL)
Description copied from interface: BrowserLauncher
Start the browser and navigate directly to the specified URL

Specified by:
launchRemoteSession in interface BrowserLauncher

close

public void close()
Description copied from interface: BrowserLauncher
Stop (kill) the browser process

Specified by:
close in interface BrowserLauncher


Copyright © 2006 null. All Rights Reserved.