@applitools/core 4.8.0 → 4.9.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/CHANGELOG.md +73 -0
- package/dist/ufg/utils/take-dom-snapshot.js +3 -4
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,78 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.9.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/core@4.9.0...js/core@4.9.1) (2024-02-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/req bumped to 1.6.5
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fixed url concatenation logic ([#2197](https://github.com/applitools/eyes.sdk.javascript1/issues/2197)) ([c3b2e0a](https://github.com/applitools/eyes.sdk.javascript1/commit/c3b2e0ad47f002978544eaac759a80f18f7c5ee3))
|
|
12
|
+
* @applitools/dom-shared bumped to 1.0.13
|
|
13
|
+
#### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* dont execute script synchronously in polling ([#2228](https://github.com/applitools/eyes.sdk.javascript1/issues/2228)) ([04f525b](https://github.com/applitools/eyes.sdk.javascript1/commit/04f525bcac19bc2fb7240928add28f71efcef0ea))
|
|
16
|
+
* @applitools/tunnel-client bumped to 1.4.1
|
|
17
|
+
#### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* upgrade execution-grid-tunnel to avoid port collision ([751e4e2](https://github.com/applitools/eyes.sdk.javascript1/commit/751e4e2441eb85604bbece0a9dbe18fa16b23847))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
* @applitools/dom-capture bumped to 11.2.6
|
|
24
|
+
|
|
25
|
+
* @applitools/dom-snapshot bumped to 4.8.1
|
|
26
|
+
|
|
27
|
+
* @applitools/nml-client bumped to 1.7.2
|
|
28
|
+
|
|
29
|
+
* @applitools/ufg-client bumped to 1.9.10
|
|
30
|
+
|
|
31
|
+
* @applitools/ec-client bumped to 1.7.27
|
|
32
|
+
|
|
33
|
+
* @applitools/core-base bumped to 1.9.1
|
|
34
|
+
#### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* fixed url concatenation logic ([#2197](https://github.com/applitools/eyes.sdk.javascript1/issues/2197)) ([c3b2e0a](https://github.com/applitools/eyes.sdk.javascript1/commit/c3b2e0ad47f002978544eaac759a80f18f7c5ee3))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## [4.9.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/core@4.8.0...js/core@4.9.0) (2024-02-18)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
* remove dom snapshot support for IE11 ([#2187](https://github.com/applitools/eyes.sdk.javascript1/issues/2187)) ([4448999](https://github.com/applitools/eyes.sdk.javascript1/commit/4448999ce367f1302eeb36c8484a729fe4e1159b))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Bug Fixes
|
|
50
|
+
|
|
51
|
+
* avoid duplicate elements under slots when normal DOM ([#2199](https://github.com/applitools/eyes.sdk.javascript1/issues/2199)) ([0666902](https://github.com/applitools/eyes.sdk.javascript1/commit/0666902254ba5e0ca7b2a7cd1abe1d7d2a3bc837))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Dependencies
|
|
55
|
+
|
|
56
|
+
* @applitools/dom-snapshot bumped to 4.8.0
|
|
57
|
+
#### Features
|
|
58
|
+
|
|
59
|
+
* remove dom snapshot support for IE11 ([#2187](https://github.com/applitools/eyes.sdk.javascript1/issues/2187)) ([4448999](https://github.com/applitools/eyes.sdk.javascript1/commit/4448999ce367f1302eeb36c8484a729fe4e1159b))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
#### Bug Fixes
|
|
63
|
+
|
|
64
|
+
* avoid duplicate elements under slots when normal DOM ([#2199](https://github.com/applitools/eyes.sdk.javascript1/issues/2199)) ([0666902](https://github.com/applitools/eyes.sdk.javascript1/commit/0666902254ba5e0ca7b2a7cd1abe1d7d2a3bc837))
|
|
65
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.0
|
|
66
|
+
#### Features
|
|
67
|
+
|
|
68
|
+
* 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))
|
|
69
|
+
* @applitools/screenshoter bumped to 3.8.24
|
|
70
|
+
|
|
71
|
+
* @applitools/nml-client bumped to 1.7.1
|
|
72
|
+
|
|
73
|
+
* @applitools/ec-client bumped to 1.7.26
|
|
74
|
+
|
|
75
|
+
|
|
3
76
|
## [4.8.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/core@4.7.1...js/core@4.8.0) (2024-02-13)
|
|
4
77
|
|
|
5
78
|
|
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.extractCrossFrames = exports.takeDomSnapshot = void 0;
|
|
27
27
|
const utils = __importStar(require("@applitools/utils"));
|
|
28
|
-
const { getProcessPagePoll, getPollResult
|
|
28
|
+
const { getProcessPagePoll, getPollResult } = require('@applitools/dom-snapshot');
|
|
29
29
|
async function takeDomSnapshot({ context, settings, logger, }) {
|
|
30
30
|
var _a;
|
|
31
31
|
const driver = context.driver;
|
|
@@ -41,7 +41,6 @@ async function takeDomSnapshot({ context, settings, logger, }) {
|
|
|
41
41
|
if (!features.allCookies) {
|
|
42
42
|
cookies.push(...(await context.getCookies()));
|
|
43
43
|
}
|
|
44
|
-
const isLegacyBrowser = environment.isIE || environment.isEdgeLegacy;
|
|
45
44
|
const arg = {
|
|
46
45
|
dontFetchResources: settings === null || settings === void 0 ? void 0 : settings.disableBrowserFetching,
|
|
47
46
|
skipResources: settings === null || settings === void 0 ? void 0 : settings.skipResources,
|
|
@@ -55,10 +54,10 @@ async function takeDomSnapshot({ context, settings, logger, }) {
|
|
|
55
54
|
const scripts = {
|
|
56
55
|
main: features.canExecuteOnlyFunctionScripts
|
|
57
56
|
? require('@applitools/dom-snapshot').processPagePoll
|
|
58
|
-
: `return (${
|
|
57
|
+
: `return (${await getProcessPagePoll()}).apply(null, arguments);`,
|
|
59
58
|
poll: features.canExecuteOnlyFunctionScripts
|
|
60
59
|
? require('@applitools/dom-snapshot').pollResult
|
|
61
|
-
: `return (${
|
|
60
|
+
: `return (${await getPollResult()}).apply(null, arguments);`,
|
|
62
61
|
};
|
|
63
62
|
const snapshot = await context.executePoll(scripts, {
|
|
64
63
|
main: arg,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.9.1",
|
|
4
4
|
"homepage": "https://applitools.com",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
|
|
@@ -74,19 +74,19 @@
|
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@applitools/core-base": "1.9.
|
|
78
|
-
"@applitools/dom-capture": "11.2.
|
|
79
|
-
"@applitools/dom-snapshot": "4.
|
|
77
|
+
"@applitools/core-base": "1.9.1",
|
|
78
|
+
"@applitools/dom-capture": "11.2.6",
|
|
79
|
+
"@applitools/dom-snapshot": "4.8.1",
|
|
80
80
|
"@applitools/driver": "1.16.2",
|
|
81
|
-
"@applitools/ec-client": "1.7.
|
|
81
|
+
"@applitools/ec-client": "1.7.27",
|
|
82
82
|
"@applitools/logger": "2.0.14",
|
|
83
|
-
"@applitools/nml-client": "1.7.
|
|
84
|
-
"@applitools/req": "1.6.
|
|
85
|
-
"@applitools/screenshoter": "3.8.
|
|
83
|
+
"@applitools/nml-client": "1.7.2",
|
|
84
|
+
"@applitools/req": "1.6.5",
|
|
85
|
+
"@applitools/screenshoter": "3.8.24",
|
|
86
86
|
"@applitools/snippets": "2.4.25",
|
|
87
87
|
"@applitools/socket": "1.1.14",
|
|
88
|
-
"@applitools/spec-driver-webdriver": "1.0
|
|
89
|
-
"@applitools/ufg-client": "1.9.
|
|
88
|
+
"@applitools/spec-driver-webdriver": "1.1.0",
|
|
89
|
+
"@applitools/ufg-client": "1.9.10",
|
|
90
90
|
"@applitools/utils": "1.7.0",
|
|
91
91
|
"@types/ws": "8.5.5",
|
|
92
92
|
"abort-controller": "3.0.0",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"@applitools/spec-driver-selenium": "^1.5.69",
|
|
105
105
|
"@applitools/test-server": "^1.2.2",
|
|
106
106
|
"@applitools/test-utils": "^1.5.17",
|
|
107
|
-
"@applitools/tunnel-client": "^1.4.
|
|
107
|
+
"@applitools/tunnel-client": "^1.4.1",
|
|
108
108
|
"@types/node": "^12.20.55",
|
|
109
109
|
"@types/selenium-webdriver": "^4.1.2",
|
|
110
110
|
"@types/semver": "^7.5.4",
|