selenium-webdriver 4.11.0 → 4.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGES.md +6 -0
- package/package.json +1 -1
- package/testing/index.js +5 -5
package/CHANGES.md
CHANGED
package/package.json
CHANGED
package/testing/index.js
CHANGED
|
@@ -118,11 +118,11 @@ function getAvailableBrowsers() {
|
|
|
118
118
|
info(`Searching for WebDriver executables installed on the current system...`)
|
|
119
119
|
|
|
120
120
|
let targets = [
|
|
121
|
-
[getPath(chrome.Options).driverPath, Browser.CHROME],
|
|
122
|
-
[getPath(edge.Options).driverPath, Browser.EDGE],
|
|
123
|
-
[getPath(firefox.Options).driverPath, Browser.FIREFOX],
|
|
124
|
-
[getPath(ie.Options).driverPath, Browser.INTERNET_EXPLORER],
|
|
125
|
-
[getPath(safari.Options).driverPath, Browser.SAFARI],
|
|
121
|
+
[getPath(new chrome.Options()).driverPath, Browser.CHROME],
|
|
122
|
+
[getPath(new edge.Options()).driverPath, Browser.EDGE],
|
|
123
|
+
[getPath(new firefox.Options()).driverPath, Browser.FIREFOX],
|
|
124
|
+
[getPath(new ie.Options()).driverPath, Browser.INTERNET_EXPLORER],
|
|
125
|
+
[getPath(new safari.Options()).driverPath, Browser.SAFARI],
|
|
126
126
|
]
|
|
127
127
|
|
|
128
128
|
let availableBrowsers = []
|