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  String browserName()
           
 String computeLibraryPath(File launcherPath)
           
protected  boolean runningOnWindows()
           
protected  String seleniumBrowserName()
           
protected  String[] standardlauncherFilenames()
           
protected  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 String browserName()
Specified by:
browserName in class SingleBrowserLocator

seleniumBrowserName

protected String seleniumBrowserName()
Specified by:
seleniumBrowserName in class SingleBrowserLocator

standardlauncherFilenames

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

usualLauncherLocations

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

runningOnWindows

protected boolean runningOnWindows()

computeLibraryPath

public String computeLibraryPath(File launcherPath)
Overrides:
computeLibraryPath in class SingleBrowserLocator


Copyright © 2012. All Rights Reserved.