public abstract class SingleBrowserLocator extends Object implements BrowserLocator
Constructor and Description |
---|
SingleBrowserLocator() |
public BrowserInstallation findBrowserLocationOrFail()
findBrowserLocationOrFail
in interface BrowserLocator
public BrowserInstallation findBrowserLocation()
protected abstract String browserName()
protected abstract String[] standardlauncherFilenames()
protected abstract String seleniumBrowserName()
protected abstract String browserPathOverridePropertyName()
protected abstract String[] usualLauncherLocations()
protected BrowserInstallation findInPath()
protected BrowserInstallation findAtADefaultLocation()
protected BrowserInstallation browserDefaultPath()
public BrowserInstallation findFileInPath(String fileName)
protected String couldNotFindAnyInstallationMessage()
protected String fakeLauncherPath()
protected String humanFriendlyLauncherFileNames()
protected BrowserInstallation retrieveValidInstallationPath(String dirname, String fileName)
public BrowserInstallation retrieveValidInstallationPath(String launcher)
retrieveValidInstallationPath
in interface BrowserLocator
protected BrowserInstallation retrieveValidInstallationPath(File launcher)
protected boolean isScriptFile(File aFile)
Copyright © 2014. All rights reserved.