webdriver 9.4.0 → 9.4.2
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/command.d.ts.map +1 -1
- package/build/index.js +4 -1
- package/build/node.js +9 -2
- package/build/request/node.d.ts.map +1 -1
- package/package.json +5 -5
package/build/command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAI7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAgB,aAAa,EAAE,MAAM,YAAY,CAAA;AAKzE,MAAM,CAAC,OAAO,WACV,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,eAAe,EAC5B,qBAAqB,UAAQ,UAIgB,UAAU,WAAW,GAAG,EAAE,KAAG,OAAO,CAAC,iBAAiB,GAAG,aAAa,GAAG,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAI7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAgB,aAAa,EAAE,MAAM,YAAY,CAAA;AAKzE,MAAM,CAAC,OAAO,WACV,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,eAAe,EAC5B,qBAAqB,UAAQ,UAIgB,UAAU,WAAW,GAAG,EAAE,KAAG,OAAO,CAAC,iBAAiB,GAAG,aAAa,GAAG,IAAI,CAAC,CA6K9H"}
|
package/build/index.js
CHANGED
|
@@ -146,6 +146,9 @@ function command_default(method, endpointUri, commandInfo, doubleEncodeVariables
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
return result.value;
|
|
149
|
+
}).catch((error) => {
|
|
150
|
+
this.emit("result", { command, method, endpoint, body, result: { error } });
|
|
151
|
+
throw error;
|
|
149
152
|
});
|
|
150
153
|
};
|
|
151
154
|
}
|
|
@@ -1529,7 +1532,7 @@ var WebDriverResponseError = class _WebDriverResponseError extends WebDriverErro
|
|
|
1529
1532
|
// package.json
|
|
1530
1533
|
var package_default = {
|
|
1531
1534
|
name: "webdriver",
|
|
1532
|
-
version: "9.
|
|
1535
|
+
version: "9.4.1",
|
|
1533
1536
|
description: "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
|
|
1534
1537
|
author: "Christian Bromann <mail@bromann.dev>",
|
|
1535
1538
|
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
|
package/build/node.js
CHANGED
|
@@ -138,6 +138,9 @@ Actual: ${actual}` + moreInfo
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
return result.value;
|
|
141
|
+
}).catch((error) => {
|
|
142
|
+
this.emit("result", { command, method, endpoint, body, result: { error } });
|
|
143
|
+
throw error;
|
|
141
144
|
});
|
|
142
145
|
};
|
|
143
146
|
}
|
|
@@ -1467,7 +1470,7 @@ var WebDriverResponseError = class _WebDriverResponseError extends WebDriverErro
|
|
|
1467
1470
|
// package.json
|
|
1468
1471
|
var package_default = {
|
|
1469
1472
|
name: "webdriver",
|
|
1470
|
-
version: "9.
|
|
1473
|
+
version: "9.4.1",
|
|
1471
1474
|
description: "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
|
|
1472
1475
|
author: "Christian Bromann <mail@bromann.dev>",
|
|
1473
1476
|
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
|
|
@@ -1678,7 +1681,11 @@ var FetchRequest = class extends WebDriverRequest {
|
|
|
1678
1681
|
}
|
|
1679
1682
|
async createOptions(options, sessionId, isBrowser = false) {
|
|
1680
1683
|
const { url, requestOptions } = await super.createOptions(options, sessionId, isBrowser);
|
|
1681
|
-
const dispatcher = environment.value.variables.PROXY_URL ? new ProxyAgent(environment.value.variables.PROXY_URL) : new Agent({
|
|
1684
|
+
const dispatcher = environment.value.variables.PROXY_URL ? new ProxyAgent(environment.value.variables.PROXY_URL) : new Agent({
|
|
1685
|
+
connectTimeout: options.connectionRetryTimeout,
|
|
1686
|
+
headersTimeout: options.connectionRetryTimeout,
|
|
1687
|
+
bodyTimeout: options.connectionRetryTimeout
|
|
1688
|
+
});
|
|
1682
1689
|
requestOptions.dispatcher = dispatcher;
|
|
1683
1690
|
return { url, requestOptions };
|
|
1684
1691
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/request/node.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAMhD;;GAEG;AACH,qBAAa,YAAa,SAAQ,gBAAgB;IAC9C,KAAK,CAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,GACkB,OAAO,CAAC,QAAQ,CAAC;IAG/D,aAAa,CAAE,OAAO,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,GAAE,OAAe;;;;
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/request/node.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAMhD;;GAEG;AACH,qBAAa,YAAa,SAAQ,gBAAgB;IAC9C,KAAK,CAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,GACkB,OAAO,CAAC,QAAQ,CAAC;IAG/D,aAAa,CAAE,OAAO,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,GAAE,OAAe;;;;CAiB/F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webdriver",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.2",
|
|
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,14 +38,14 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@types/node": "^20.1.0",
|
|
40
40
|
"@types/ws": "^8.5.3",
|
|
41
|
-
"@wdio/config": "9.2
|
|
41
|
+
"@wdio/config": "9.4.2",
|
|
42
42
|
"@wdio/logger": "9.1.3",
|
|
43
43
|
"@wdio/protocols": "9.2.2",
|
|
44
|
-
"@wdio/types": "9.
|
|
45
|
-
"@wdio/utils": "9.2
|
|
44
|
+
"@wdio/types": "9.4.2",
|
|
45
|
+
"@wdio/utils": "9.4.2",
|
|
46
46
|
"deepmerge-ts": "^7.0.3",
|
|
47
47
|
"undici": "^6.20.1",
|
|
48
48
|
"ws": "^8.8.0"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "e42d3e8d6958fd9a734fe1d9a9768357b6045893"
|
|
51
51
|
}
|