public abstract class AbstractDriverUpdater extends java.lang.Object implements BrowserDriverUpdater
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
isBrowser32Bit
indicate if the firefox is 32 bits
|
protected java.lang.String |
vendor
The browser's vendor name, such as "chrome", "firefox", "edge" etc.
|
| Constructor and Description |
|---|
AbstractDriverUpdater() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
downloadBrowserDriver(java.lang.String driverVersion)
Download the matched browser-driver.
|
static BrowserDriverUpdater |
instance(java.lang.String browserName) |
boolean |
isBrowser32Bit() |
boolean |
update()
Update the browser's driver to the latest matched one.
Copy the original driver to "SeleniumPlus\extra\drivers\ Copy the latest driver to the folder "SeleniumPlus\extra\" to replace the original one. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBrowserVersion, getDriverDownloadURL, getDriverVersion, getMatchedDriverVerionprotected java.lang.String vendor
protected java.lang.Boolean isBrowser32Bit
public boolean isBrowser32Bit()
isBrowser32Bit in interface BrowserDriverUpdaterpublic java.lang.String downloadBrowserDriver(java.lang.String driverVersion)
BrowserDriverUpdaterdownloadBrowserDriver in interface BrowserDriverUpdaterdriverVersion - String, the matched browser-driver's versionpublic boolean update()
BrowserDriverUpdaterupdate in interface BrowserDriverUpdaterpublic static BrowserDriverUpdater instance(java.lang.String browserName)
Copyright © SAS Institute. All Rights Reserved.