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 CHANGED
@@ -1,3 +1,9 @@
1
+ ## 4.11.1
2
+
3
+ #### :bug: Bug fix
4
+
5
+ * Update testing/index.js code snippet to fix function call (#12456)
6
+
1
7
  ## v4.11.0
2
8
 
3
9
  #### :nail_care: Polish
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "selenium-webdriver",
3
- "version": "4.11.0",
3
+ "version": "4.11.1",
4
4
  "description": "The official WebDriver JavaScript bindings from the Selenium project",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
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 = []