public class MSEdgeDriverUpdater extends AbstractDriverUpdater
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REGISTRY_EXECUTABLE_PATH
The Windows registry key to find the executable path of the browser
|
static java.lang.String |
REGISTRY_MSEDGE_UNINSTALL_PATH
The Windows registry key suffix to get Edge information, should be prefixed by
REGISTRY_SOFTWARE_PATH |
static java.lang.String |
REGISTRY_SOFTWARE_PATH |
static java.lang.String |
URL_PREFIX_MSEDGE_DRIVER_STORAGE
The prefix to create an URL for getting the latest driver.
|
static java.lang.String |
URL_PREFIX_MSEDGE_LATEST_DRIVER
The prefix to create an URL for getting the latest driver's version.
|
static java.lang.String |
VENDOR |
isBrowser32Bit, vendor
Constructor and Description |
---|
MSEdgeDriverUpdater() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBrowserVersion() |
java.lang.String |
getDriverDownloadURL(java.lang.String driverVersion)
According to the driver's version, get the RUL containing this driver.
|
java.lang.String |
getDriverVersion() |
java.lang.String |
getMatchedDriverVerion(java.lang.String browserVersion)
According to the browser's version, find the matched driver version.
|
static void |
main(java.lang.String[] args) |
downloadBrowserDriver, instance, isBrowser32Bit, update
public static final java.lang.String REGISTRY_EXECUTABLE_PATH
public static final java.lang.String REGISTRY_SOFTWARE_PATH
public static final java.lang.String REGISTRY_MSEDGE_UNINSTALL_PATH
REGISTRY_SOFTWARE_PATH
public static final java.lang.String URL_PREFIX_MSEDGE_LATEST_DRIVER
public static final java.lang.String URL_PREFIX_MSEDGE_DRIVER_STORAGE
public static final java.lang.String VENDOR
public java.lang.String getBrowserVersion()
public java.lang.String getDriverVersion()
public java.lang.String getMatchedDriverVerion(java.lang.String browserVersion)
BrowserDriverUpdater
browserVersion
- String, the current installed browser's versionpublic java.lang.String getDriverDownloadURL(java.lang.String driverVersion)
BrowserDriverUpdater
driverVersion
- String, the driver's versionpublic static void main(java.lang.String[] args)
Copyright © SAS Institute. All Rights Reserved.