org.openqa.selenium.server.browserlaunchers
Class BrowserLauncherFactory

java.lang.Object
  extended by org.openqa.selenium.server.browserlaunchers.BrowserLauncherFactory

public class BrowserLauncherFactory
extends java.lang.Object

Returns BrowserLaunchers based on simple strings given by the user

Author:
danielf

Constructor Summary
BrowserLauncherFactory()
           
 
Method Summary
static void addBrowserLauncher(java.lang.String browser, java.lang.Class<? extends BrowserLauncher> clazz)
           
 BrowserLauncher getBrowserLauncher(java.lang.String browser, java.lang.String sessionId)
          Returns the browser given by the specified browser string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserLauncherFactory

public BrowserLauncherFactory()
Method Detail

getBrowserLauncher

public BrowserLauncher getBrowserLauncher(java.lang.String browser,
                                          java.lang.String sessionId)
Returns the browser given by the specified browser string

Parameters:
browser - a browser string like "*firefox"
sessionId - the sessionId to launch
Returns:
the BrowserLauncher ready to launch

addBrowserLauncher

public static void addBrowserLauncher(java.lang.String browser,
                                      java.lang.Class<? extends BrowserLauncher> clazz)


Copyright © {inceptionYear}-2007 null. All Rights Reserved.