org.openqa.selenium.browserlaunchers.locators
Class GoogleChromeLocator
java.lang.Object
org.openqa.selenium.browserlaunchers.locators.SingleBrowserLocator
org.openqa.selenium.browserlaunchers.locators.GoogleChromeLocator
- All Implemented Interfaces:
- BrowserLocator
public class GoogleChromeLocator
- extends SingleBrowserLocator
Discovers a valid Google Chrome installation on local system.
Methods inherited from class org.openqa.selenium.browserlaunchers.locators.SingleBrowserLocator |
browserDefaultPath, computeLibraryPath, 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 |
GoogleChromeLocator
public GoogleChromeLocator()
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
browserPathOverridePropertyName
protected String browserPathOverridePropertyName()
- Specified by:
browserPathOverridePropertyName
in class SingleBrowserLocator
usualLauncherLocations
protected String[] usualLauncherLocations()
- Specified by:
usualLauncherLocations
in class SingleBrowserLocator
usualWindowsLauncherLocations
protected String[] usualWindowsLauncherLocations()
- Returns usual Google Chrome installation location on Windows.
WARNING: Executing this method on a non-windows platform will fail because the system root is
not set.
- Returns:
- Usual Google Chrome installation location on Windows
usualUnixLauncherLocations
protected String[] usualUnixLauncherLocations()
- Returns usual Google Chrome installation location on Linux.
- Returns:
- Usual Google Chrome installation location on Linux
Copyright © 2013. All rights reserved.