@applitools/spec-driver-webdriver 1.0.57 → 1.1.0
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 +7 -0
- package/dist/spec-driver.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.1.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.57...js/spec-driver-webdriver@1.1.0) (2024-02-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* env var to skip deprected jwp commands ([#2200](https://github.com/applitools/eyes.sdk.javascript1/issues/2200)) ([d9123db](https://github.com/applitools/eyes.sdk.javascript1/commit/d9123dbba85679d1c6999718b90b89debb18ed18))
|
|
9
|
+
|
|
3
10
|
## [1.0.57](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.56...js/spec-driver-webdriver@1.0.57) (2024-02-13)
|
|
4
11
|
|
|
5
12
|
|
package/dist/spec-driver.js
CHANGED
|
@@ -337,7 +337,9 @@ async function getDriverInfo(driver) {
|
|
|
337
337
|
exports.getDriverInfo = getDriverInfo;
|
|
338
338
|
async function getCapabilities(driver) {
|
|
339
339
|
var _a;
|
|
340
|
-
const capabilities =
|
|
340
|
+
const capabilities = utils.general.getEnvValue('SKIP_DEPRECATED_JWP_COMMANDS', 'boolean')
|
|
341
|
+
? null
|
|
342
|
+
: await ((_a = driver.getSession) === null || _a === void 0 ? void 0 : _a.call(driver).catch(() => null));
|
|
341
343
|
return utils.types.isObject(capabilities) ? capabilities : driver.capabilities;
|
|
342
344
|
}
|
|
343
345
|
exports.getCapabilities = getCapabilities;
|