webdriver 9.20.0 → 9.20.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/build/index.js +1 -1
- package/build/node/bidi.d.ts.map +1 -1
- package/build/node.js +2 -7
- package/package.json +4 -4
package/build/index.js
CHANGED
|
@@ -1796,7 +1796,7 @@ var WebDriverResponseError = class _WebDriverResponseError extends WebDriverErro
|
|
|
1796
1796
|
// package.json
|
|
1797
1797
|
var package_default = {
|
|
1798
1798
|
name: "webdriver",
|
|
1799
|
-
version: "9.
|
|
1799
|
+
version: "9.20.0",
|
|
1800
1800
|
description: "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
|
|
1801
1801
|
author: "Christian Bromann <mail@bromann.dev>",
|
|
1802
1802
|
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
|
package/build/node/bidi.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bidi.d.ts","sourceRoot":"","sources":["../../src/node/bidi.ts"],"names":[],"mappings":"AASA,OAAO,SAAS,EAAE,EAAE,KAAK,aAAa,EAAE,MAAM,IAAI,CAAA;AAMlD,wBAAsB,oBAAoB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAGxH;AAED;;;;GAIG;AACH,wBAAsB,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAqBxF;AAcD;;;;GAIG;AACH,wBAAsB,gBAAgB,CAAC,aAAa,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"bidi.d.ts","sourceRoot":"","sources":["../../src/node/bidi.ts"],"names":[],"mappings":"AASA,OAAO,SAAS,EAAE,EAAE,KAAK,aAAa,EAAE,MAAM,IAAI,CAAA;AAMlD,wBAAsB,oBAAoB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAGxH;AAED;;;;GAIG;AACH,wBAAsB,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAqBxF;AAcD;;;;GAIG;AACH,wBAAsB,gBAAgB,CAAC,aAAa,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAkEvH"}
|
package/build/node.js
CHANGED
|
@@ -1727,7 +1727,7 @@ var WebDriverResponseError = class _WebDriverResponseError extends WebDriverErro
|
|
|
1727
1727
|
// package.json
|
|
1728
1728
|
var package_default = {
|
|
1729
1729
|
name: "webdriver",
|
|
1730
|
-
version: "9.
|
|
1730
|
+
version: "9.20.0",
|
|
1731
1731
|
description: "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
|
|
1732
1732
|
author: "Christian Bromann <mail@bromann.dev>",
|
|
1733
1733
|
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
|
|
@@ -2127,12 +2127,7 @@ async function connectWebsocket(candidateUrls, options) {
|
|
|
2127
2127
|
clearTimeout(timeoutId);
|
|
2128
2128
|
const socketsToCleanup = wsInfo ? websockets.filter((_, index) => wsInfo.index !== index) : websockets;
|
|
2129
2129
|
for (const socket of socketsToCleanup) {
|
|
2130
|
-
socket.
|
|
2131
|
-
if (socket.readyState === WebSocket.OPEN || socket.readyState === WebSocket.CLOSING) {
|
|
2132
|
-
socket.terminate();
|
|
2133
|
-
} else {
|
|
2134
|
-
socket.once("open", () => socket.terminate());
|
|
2135
|
-
}
|
|
2130
|
+
socket.terminate();
|
|
2136
2131
|
}
|
|
2137
2132
|
if (wsInfo?.isConnected) {
|
|
2138
2133
|
log6.info(`Connected to Bidi protocol at ${candidateUrls[wsInfo.index]}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webdriver",
|
|
3
|
-
"version": "9.20.
|
|
3
|
+
"version": "9.20.1",
|
|
4
4
|
"description": "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@types/node": "^20.1.0",
|
|
40
40
|
"@types/ws": "^8.5.3",
|
|
41
|
-
"@wdio/config": "9.20.
|
|
41
|
+
"@wdio/config": "9.20.1",
|
|
42
42
|
"@wdio/logger": "9.18.0",
|
|
43
43
|
"@wdio/protocols": "9.16.2",
|
|
44
44
|
"@wdio/types": "9.20.0",
|
|
45
|
-
"@wdio/utils": "9.20.
|
|
45
|
+
"@wdio/utils": "9.20.1",
|
|
46
46
|
"deepmerge-ts": "^7.0.3",
|
|
47
47
|
"https-proxy-agent": "^7.0.6",
|
|
48
48
|
"undici": "^6.21.3",
|
|
49
49
|
"ws": "^8.8.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "ac132d5e6c95ad0b9f4e92cb0090c9a60296da4c"
|
|
52
52
|
}
|