selenium-webdriver 4.6.0 → 4.6.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,13 @@
1
+ ## v4.6.1
2
+
3
+ #### :bug: Bug Fix
4
+
5
+ * Support Node 17 and above (#11262)
6
+
7
+ #### :nail_care: Polish
8
+
9
+ * Fix typos (#11258)
10
+
1
11
  ## v4.6.0
2
12
 
3
13
  #### :rocket: New Feature
package/http/index.js CHANGED
@@ -54,6 +54,7 @@ function getRequestOptions(aUrl) {
54
54
  options.search = null
55
55
  options.hash = null
56
56
  options.path = options.pathname
57
+ options.hostname = options.hostname === 'localhost' ? '127.0.0.1' : options.hostname // To support Node 17 and above. Refer https://github.com/nodejs/node/issues/40702 for details.
57
58
  return options
58
59
  }
59
60
 
package/lib/select.js CHANGED
@@ -291,7 +291,7 @@ class Select {
291
291
  }
292
292
 
293
293
  /**
294
- * Retruns a boolean value if the select tag is multiple
294
+ * Returns a boolean value if the select tag is multiple
295
295
  * @returns {Promise<boolean>}
296
296
  */
297
297
  async isMultiple() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "selenium-webdriver",
3
- "version": "4.6.0",
3
+ "version": "4.6.1",
4
4
  "description": "The official WebDriver JavaScript bindings from the Selenium project",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [