org.openqa.selenium.browserlaunchers.locators
Class Firefox3Locator

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.Firefox3Locator
All Implemented Interfaces:
BrowserLocator

public class Firefox3Locator
extends FirefoxLocator

Discovers a valid Firefox 2.x or 3.x installation on local system. Preference is given to 2.x installs.


Constructor Summary
Firefox3Locator()
           
 
Method Summary
protected  java.lang.String browserName()
           
 java.lang.String computeLibraryPath(java.io.File launcherPath)
           
protected  java.lang.String[] firefoxDefaultLocationsOnUbuntu()
          Dynamic because the directory version number keep changing.
protected  boolean runningOnWindows()
           
protected  java.lang.String seleniumBrowserName()
           
protected  java.lang.String[] standardlauncherFilenames()
           
protected  java.lang.String[] usualLauncherLocations()
           
protected  java.lang.String[] usualUnixLauncherLocations()
           
 
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

Firefox3Locator

public Firefox3Locator()
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

usualUnixLauncherLocations

protected java.lang.String[] usualUnixLauncherLocations()

firefoxDefaultLocationsOnUbuntu

protected java.lang.String[] firefoxDefaultLocationsOnUbuntu()
Dynamic because the directory version number keep changing.


runningOnWindows

protected boolean runningOnWindows()

computeLibraryPath

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


Copyright © 2011. All Rights Reserved.