@applitools/spec-driver-webdriver 1.0.54 → 1.0.56
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/CHANGELOG.md +24 -0
- package/dist/spec-driver.js +2 -9
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.56](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.55...js/spec-driver-webdriver@1.0.56) (2024-02-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* avoid error when extracting driver capabilities ([#2176](https://github.com/applitools/eyes.sdk.javascript1/issues/2176)) ([8971f1c](https://github.com/applitools/eyes.sdk.javascript1/commit/8971f1c07a73c1259e117c5c3c8d43d1d324c584))
|
|
9
|
+
|
|
10
|
+
## [1.0.55](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.54...js/spec-driver-webdriver@1.0.55) (2024-01-30)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Dependencies
|
|
14
|
+
|
|
15
|
+
* @applitools/snippets bumped to 2.4.25
|
|
16
|
+
#### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* losing root context after layout breakpoints reload ([#2113](https://github.com/applitools/eyes.sdk.javascript1/issues/2113)) ([afa1473](https://github.com/applitools/eyes.sdk.javascript1/commit/afa14735e5539ab0f79aa610e6ec1ea8989a5922))
|
|
19
|
+
* @applitools/driver bumped to 1.16.2
|
|
20
|
+
#### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* losing root context after layout breakpoints reload ([#2113](https://github.com/applitools/eyes.sdk.javascript1/issues/2113)) ([afa1473](https://github.com/applitools/eyes.sdk.javascript1/commit/afa14735e5539ab0f79aa610e6ec1ea8989a5922))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
3
27
|
## [1.0.54](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.53...js/spec-driver-webdriver@1.0.54) (2023-12-19)
|
|
4
28
|
|
|
5
29
|
|
package/dist/spec-driver.js
CHANGED
|
@@ -346,15 +346,8 @@ async function getDriverInfo(driver) {
|
|
|
346
346
|
exports.getDriverInfo = getDriverInfo;
|
|
347
347
|
async function getCapabilities(driver) {
|
|
348
348
|
var _a;
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
return utils.types.isObject(capabilities) ? capabilities : driver.capabilities;
|
|
352
|
-
}
|
|
353
|
-
catch (error) {
|
|
354
|
-
if (/Cannot call non W3C standard command while in W3C mode/i.test(error.message))
|
|
355
|
-
return driver.capabilities;
|
|
356
|
-
throw new Error(`Unable to retrieve capabilities due to an error. The original error is ${error.message}`);
|
|
357
|
-
}
|
|
349
|
+
const capabilities = await ((_a = driver.getSession) === null || _a === void 0 ? void 0 : _a.call(driver).catch(() => null));
|
|
350
|
+
return utils.types.isObject(capabilities) ? capabilities : driver.capabilities;
|
|
358
351
|
}
|
|
359
352
|
exports.getCapabilities = getCapabilities;
|
|
360
353
|
async function getWindowSize(driver) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/spec-driver-webdriver",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.56",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"webdriver",
|
|
6
6
|
"chrome devtools protocol",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"up:framework": "echo \"$(jq '.devDependencies.webdriver = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@applitools/driver": "1.16.
|
|
52
|
+
"@applitools/driver": "1.16.2",
|
|
53
53
|
"@applitools/utils": "1.7.0",
|
|
54
54
|
"http-proxy-agent": "5.0.0",
|
|
55
55
|
"https-proxy-agent": "5.0.1"
|