@applitools/eyes-webdriverio 5.50.8 → 5.50.10
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 +88 -0
- package/dist/spec-driver.js +9 -5
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,93 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.50.10](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-webdriverio@5.50.9...js/eyes-webdriverio@5.50.10) (2024-02-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.0
|
|
9
|
+
#### Features
|
|
10
|
+
|
|
11
|
+
* 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))
|
|
12
|
+
* @applitools/eyes bumped to 1.14.1
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [5.50.9](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-webdriverio@5.50.8...js/eyes-webdriverio@5.50.9) (2024-02-13)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* fixed issue with cdp commands on chromium browsers ([#2180](https://github.com/applitools/eyes.sdk.javascript1/issues/2180)) ([550fc77](https://github.com/applitools/eyes.sdk.javascript1/commit/550fc772d3988aae29e6f4a1a11d2a408072dc38))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Dependencies
|
|
24
|
+
|
|
25
|
+
* @applitools/dom-snapshot bumped to 4.7.17
|
|
26
|
+
#### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* throw error for encoding none unicode char ([#2171](https://github.com/applitools/eyes.sdk.javascript1/issues/2171)) ([4edb9cf](https://github.com/applitools/eyes.sdk.javascript1/commit/4edb9cfb27d8db2ff4cb09c8ebf1b95ab020633d))
|
|
29
|
+
* @applitools/spec-driver-webdriver bumped to 1.0.57
|
|
30
|
+
#### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* fixed issue with cdp commands on chromium browsers ([#2180](https://github.com/applitools/eyes.sdk.javascript1/issues/2180)) ([550fc77](https://github.com/applitools/eyes.sdk.javascript1/commit/550fc772d3988aae29e6f4a1a11d2a408072dc38))
|
|
33
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.0
|
|
34
|
+
#### Features
|
|
35
|
+
|
|
36
|
+
* added support for puppeteer >= 22 ([#2185](https://github.com/applitools/eyes.sdk.javascript1/issues/2185)) ([59d23a9](https://github.com/applitools/eyes.sdk.javascript1/commit/59d23a9689d77c7db06df53b67fa293a3b3f166e))
|
|
37
|
+
* @applitools/core bumped to 4.8.0
|
|
38
|
+
#### Features
|
|
39
|
+
|
|
40
|
+
* add support for regions and calculated regions ([#2161](https://github.com/applitools/eyes.sdk.javascript1/issues/2161)) ([fea4b1f](https://github.com/applitools/eyes.sdk.javascript1/commit/fea4b1fca3d8f59eada2b5186cd32d47352ccf1a))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
#### Bug Fixes
|
|
44
|
+
|
|
45
|
+
* missing viewport when using system screenshot and multi viewport ([#2173](https://github.com/applitools/eyes.sdk.javascript1/issues/2173)) ([411283c](https://github.com/applitools/eyes.sdk.javascript1/commit/411283c7bebc09f178d73b6b47e81e5ce4244d5e))
|
|
46
|
+
* nml coded region integration with universal ([6fb0934](https://github.com/applitools/eyes.sdk.javascript1/commit/6fb09348238dfe4698856f88e762a9abf80c686f))
|
|
47
|
+
* throw error for encoding none unicode char ([#2171](https://github.com/applitools/eyes.sdk.javascript1/issues/2171)) ([4edb9cf](https://github.com/applitools/eyes.sdk.javascript1/commit/4edb9cfb27d8db2ff4cb09c8ebf1b95ab020633d))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
* @applitools/screenshoter bumped to 3.8.23
|
|
52
|
+
|
|
53
|
+
* @applitools/nml-client bumped to 1.7.0
|
|
54
|
+
#### Features
|
|
55
|
+
|
|
56
|
+
* add support for regions and calculated regions ([#2161](https://github.com/applitools/eyes.sdk.javascript1/issues/2161)) ([fea4b1f](https://github.com/applitools/eyes.sdk.javascript1/commit/fea4b1fca3d8f59eada2b5186cd32d47352ccf1a))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
#### Bug Fixes
|
|
60
|
+
|
|
61
|
+
* missing viewport when using system screenshot and multi viewport ([#2173](https://github.com/applitools/eyes.sdk.javascript1/issues/2173)) ([411283c](https://github.com/applitools/eyes.sdk.javascript1/commit/411283c7bebc09f178d73b6b47e81e5ce4244d5e))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
* @applitools/ec-client bumped to 1.7.25
|
|
66
|
+
|
|
67
|
+
* @applitools/eyes bumped to 1.14.0
|
|
68
|
+
#### Features
|
|
69
|
+
|
|
70
|
+
* add Eyes.getResults method ([#2046](https://github.com/applitools/eyes.sdk.javascript1/issues/2046)) ([#2069](https://github.com/applitools/eyes.sdk.javascript1/issues/2069)) ([4d263e1](https://github.com/applitools/eyes.sdk.javascript1/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91))
|
|
71
|
+
* added `enableEyesLogs` configuration to the eyes service ([639ca8a](https://github.com/applitools/eyes.sdk.javascript1/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
|
|
72
|
+
* added `useExecutionCloud` configuration to the eyes service ([#2033](https://github.com/applitools/eyes.sdk.javascript1/issues/2033)) ([639ca8a](https://github.com/applitools/eyes.sdk.javascript1/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
|
|
73
|
+
* generate more enums ([#2179](https://github.com/applitools/eyes.sdk.javascript1/issues/2179)) ([5f4f916](https://github.com/applitools/eyes.sdk.javascript1/commit/5f4f91621b791a02464191123f69b12f590b9efe))
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
#### Bug Fixes
|
|
77
|
+
|
|
78
|
+
* error to unknown type in exception ([#2035](https://github.com/applitools/eyes.sdk.javascript1/issues/2035)) ([16d78c3](https://github.com/applitools/eyes.sdk.javascript1/commit/16d78c3cce90a5cb50cc2aa4e9ab6a58b7b93f89))
|
|
79
|
+
* fixed `serverUrl` configuration propagation ([247b7d8](https://github.com/applitools/eyes.sdk.javascript1/commit/247b7d88853dd1a9068d2d963582ad795752ace4))
|
|
80
|
+
* fixed default value in `useSystemScreenshot` method of check settings ([42a773c](https://github.com/applitools/eyes.sdk.javascript1/commit/42a773cc57e8e5de528a049b376159615892003b))
|
|
81
|
+
* fixed issue when w3c properties were added to legacy capabilities object in `Eyes.setMobileCapabilities` method ([94d785f](https://github.com/applitools/eyes.sdk.javascript1/commit/94d785f0428df101c207d6f09a55c46f2bdbf19e))
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
#### Code Refactoring
|
|
85
|
+
|
|
86
|
+
* disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
3
91
|
## [5.50.8](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-webdriverio@5.50.7...js/eyes-webdriverio@5.50.8) (2024-02-06)
|
|
4
92
|
|
|
5
93
|
|
package/dist/spec-driver.js
CHANGED
|
@@ -63,18 +63,22 @@ exports.isSecondarySelector = isSecondarySelector;
|
|
|
63
63
|
function toDriver(driver) {
|
|
64
64
|
if (spec.isSecondaryDriver(driver))
|
|
65
65
|
return spec.toDriver(driver);
|
|
66
|
-
if (driver.isDevTools) {
|
|
66
|
+
if (!driver.isDevTools) {
|
|
67
|
+
// NOTE: this function also could be used to populate missed webdriver commands
|
|
68
|
+
return spec.toDriver(driver);
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
// NOTE: populating missing commands of devtools instance
|
|
67
72
|
driver.addCommand('sendCommandAndGetResult', async (name, options) => {
|
|
68
73
|
const puppeteer = await driver.getPuppeteer();
|
|
69
74
|
const [page] = await puppeteer.pages();
|
|
70
75
|
const session = await page.target().createCDPSession();
|
|
71
76
|
return session.send(name, options);
|
|
72
77
|
});
|
|
78
|
+
return Object.create(driver, {
|
|
79
|
+
original: { enumerable: false, get: () => driver },
|
|
80
|
+
});
|
|
73
81
|
}
|
|
74
|
-
const transformedDriver = Object.create(driver, {
|
|
75
|
-
original: { enumerable: false, get: () => driver },
|
|
76
|
-
});
|
|
77
|
-
return transformedDriver;
|
|
78
82
|
}
|
|
79
83
|
exports.toDriver = toDriver;
|
|
80
84
|
function toElement(element) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-webdriverio",
|
|
3
|
-
"version": "5.50.
|
|
3
|
+
"version": "5.50.10",
|
|
4
4
|
"description": "Applitools Eyes SDK for WebdriverIO",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-webdriverio",
|
|
@@ -72,13 +72,13 @@
|
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@applitools/driver": "1.16.2",
|
|
75
|
-
"@applitools/eyes": "1.
|
|
76
|
-
"@applitools/spec-driver-webdriver": "1.0
|
|
75
|
+
"@applitools/eyes": "1.14.0",
|
|
76
|
+
"@applitools/spec-driver-webdriver": "1.1.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@applitools/api-extractor": "^1.2.22",
|
|
80
80
|
"@applitools/bongo": "^5.10.0",
|
|
81
|
-
"@applitools/generic": "^3.
|
|
81
|
+
"@applitools/generic": "^3.9.1",
|
|
82
82
|
"@applitools/test-utils": "^1.5.17",
|
|
83
83
|
"@types/node": "^16.18.14",
|
|
84
84
|
"@wdio/cli": "^8.14.4",
|