org.openqa.selenium.browserlaunchers.locators
Class Firefox2Locator

java.lang.Object
  extended by org.openqa.selenium.browserlaunchers.locators.SingleBrowserLocator
      extended by org.openqa.selenium.browserlaunchers.locators.FirefoxLocator
          extended by org.openqa.selenium.browserlaunchers.locators.Firefox2Locator
All Implemented Interfaces:
BrowserLocator

public class Firefox2Locator
extends FirefoxLocator

Discovers a valid Firefox 2.x installation on local system.


Constructor Summary
Firefox2Locator()
           
 
Method Summary
protected  java.lang.String browserName()
           
 java.lang.String computeLibraryPath(java.io.File launcherPath)
           
protected  boolean runningOnWindows()
           
protected  java.lang.String seleniumBrowserName()
           
protected  java.lang.String[] standardlauncherFilenames()
           
protected  java.lang.String[] usualLauncherLocations()
           
 
Methods inherited from class org.openqa.selenium.browserlaunchers.locators.FirefoxLocator
browserPathOverridePropertyName
 
Methods inherited from class org.openqa.selenium.browserlaunchers.locators.SingleBrowserLocator
browserDefaultPath, couldNotFindAnyInstallationMessage, fakeLauncherPath, findAtADefaultLocation, findBrowserLocation, findBrowserLocationOrFail, findFileInPath, findInPath, humanFriendlyLauncherFileNames, retrieveValidInstallationPath, retrieveValidInstallationPath, retrieveValidInstallationPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Firefox2Locator

public Firefox2Locator()
Method Detail

browserName

protected java.lang.String browserName()
Specified by:
browserName in class SingleBrowserLocator

seleniumBrowserName

protected java.lang.String seleniumBrowserName()
Specified by:
seleniumBrowserName in class SingleBrowserLocator

standardlauncherFilenames

protected java.lang.String[] standardlauncherFilenames()
Specified by:
standardlauncherFilenames in class SingleBrowserLocator

usualLauncherLocations

protected java.lang.String[] usualLauncherLocations()
Specified by:
usualLauncherLocations in class SingleBrowserLocator

runningOnWindows

protected boolean runningOnWindows()

computeLibraryPath

public java.lang.String computeLibraryPath(java.io.File launcherPath)
Overrides:
computeLibraryPath in class SingleBrowserLocator


Copyright © 2011. All Rights Reserved.