@applitools/core 4.59.0 → 4.59.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/CHANGELOG.md +33 -0
- package/dist/ufg/create-render-target-from-snapshot.js +1 -0
- package/dist/ufg/take-snapshots.js +1 -0
- package/dist/ufg/utils/take-dom-snapshot.js +1 -0
- package/package.json +5 -5
- package/types/automation/types.d.ts +2 -0
- package/types/ufg/check-and-close.d.ts +1 -0
- package/types/ufg/types.d.ts +2 -0
- package/types/ufg/utils/take-dom-snapshot.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.59.2](https://github.com/Applitools-Dev/sdk/compare/js/core@4.59.1...js/core@4.59.2) (2026-04-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* protect page render target from pointing to html instead of cdt | FLD-4313 ([#3758](https://github.com/Applitools-Dev/sdk/issues/3758)) ([fd8008a](https://github.com/Applitools-Dev/sdk/commit/fd8008af0f6b491d3a3a9dce648bef1c18118b9b))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/dom-snapshot bumped to 4.16.3
|
|
14
|
+
#### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* protect page render target from pointing to html instead of cdt | FLD-4313 ([#3758](https://github.com/Applitools-Dev/sdk/issues/3758)) ([fd8008a](https://github.com/Applitools-Dev/sdk/commit/fd8008af0f6b491d3a3a9dce648bef1c18118b9b))
|
|
17
|
+
* @applitools/nml-client bumped to 1.11.23
|
|
18
|
+
#### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* log nml responses | FLD-4433 ([#3757](https://github.com/Applitools-Dev/sdk/issues/3757)) ([70f0bcd](https://github.com/Applitools-Dev/sdk/commit/70f0bcdaa00b60f6fe8f2177b1713b92c8232c27))
|
|
21
|
+
* @applitools/ufg-client bumped to 1.20.2
|
|
22
|
+
#### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* protect page render target from pointing to html instead of cdt | FLD-4313 ([#3758](https://github.com/Applitools-Dev/sdk/issues/3758)) ([fd8008a](https://github.com/Applitools-Dev/sdk/commit/fd8008af0f6b491d3a3a9dce648bef1c18118b9b))
|
|
25
|
+
|
|
26
|
+
## [4.59.1](https://github.com/Applitools-Dev/sdk/compare/js/core@4.59.0...js/core@4.59.1) (2026-04-06)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
|
|
31
|
+
* @applitools/dom-capture bumped to 11.7.0
|
|
32
|
+
#### Features
|
|
33
|
+
|
|
34
|
+
* add elementFromPointCheckStatus to DOM capture output | AD-13066 ([#3690](https://github.com/Applitools-Dev/sdk/issues/3690)) ([4fbb117](https://github.com/Applitools-Dev/sdk/commit/4fbb117d53a9a44248772100947ed68133f5b5db))
|
|
35
|
+
|
|
3
36
|
## [4.59.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.58.2...js/core@4.59.0) (2026-03-29)
|
|
4
37
|
|
|
5
38
|
|
|
@@ -46,6 +46,7 @@ function makeTakeSnapshots({ core, fetchConcurrency, signal, logger: mainLogger,
|
|
|
46
46
|
layoutBreakpoints: settings.layoutBreakpoints,
|
|
47
47
|
environments: uniqueEnvironments,
|
|
48
48
|
skipResources: ufgClient.getCachedResourceUrls(),
|
|
49
|
+
skipRootHtmlResource: settings.skipRootHtmlResource,
|
|
49
50
|
lazyLoad: settings.lazyLoad,
|
|
50
51
|
elementReferences: elementReferencesToMark,
|
|
51
52
|
},
|
|
@@ -47,6 +47,7 @@ async function takeDomSnapshot({ context, settings, logger, }) {
|
|
|
47
47
|
const arg = {
|
|
48
48
|
dontFetchResources: settings === null || settings === void 0 ? void 0 : settings.disableBrowserFetching,
|
|
49
49
|
skipResources: settings === null || settings === void 0 ? void 0 : settings.skipResources,
|
|
50
|
+
skipRootHtmlResource: settings === null || settings === void 0 ? void 0 : settings.skipRootHtmlResource,
|
|
50
51
|
fetchConcurrency: settings === null || settings === void 0 ? void 0 : settings.fetchConcurrency,
|
|
51
52
|
removeReverseProxyURLPrefixes: Boolean(process.env.APPLITOOLS_SCRIPT_REMOVE_REVERSE_PROXY_URL_PREFIXES),
|
|
52
53
|
chunkByteLength: (_a = settings === null || settings === void 0 ? void 0 : settings.chunkByteLength) !== null && _a !== void 0 ? _a : (Number(process.env.APPLITOOLS_SCRIPT_RESULT_MAX_BYTE_LENGTH) ||
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/core",
|
|
3
|
-
"version": "4.59.
|
|
3
|
+
"version": "4.59.2",
|
|
4
4
|
"homepage": "https://applitools.com",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
|
|
@@ -61,17 +61,17 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@applitools/core-base": "1.32.4",
|
|
64
|
-
"@applitools/dom-capture": "11.
|
|
65
|
-
"@applitools/dom-snapshot": "4.16.
|
|
64
|
+
"@applitools/dom-capture": "11.7.0",
|
|
65
|
+
"@applitools/dom-snapshot": "4.16.3",
|
|
66
66
|
"@applitools/driver": "1.25.4",
|
|
67
67
|
"@applitools/ec-client": "1.12.24",
|
|
68
68
|
"@applitools/logger": "2.2.10",
|
|
69
|
-
"@applitools/nml-client": "1.11.
|
|
69
|
+
"@applitools/nml-client": "1.11.23",
|
|
70
70
|
"@applitools/req": "1.9.2",
|
|
71
71
|
"@applitools/screenshoter": "3.12.17",
|
|
72
72
|
"@applitools/snippets": "2.8.1",
|
|
73
73
|
"@applitools/socket": "1.3.11",
|
|
74
|
-
"@applitools/ufg-client": "1.20.
|
|
74
|
+
"@applitools/ufg-client": "1.20.2",
|
|
75
75
|
"@applitools/utils": "1.14.3",
|
|
76
76
|
"abort-controller": "3.0.0",
|
|
77
77
|
"chalk": "4.1.2",
|
|
@@ -158,6 +158,8 @@ export interface ScreenshotSettings<TSpec extends SpecType> extends BaseCore.Ima
|
|
|
158
158
|
sendDom?: boolean;
|
|
159
159
|
captureStatusBar?: boolean;
|
|
160
160
|
mobileOptions?: MobileOptions;
|
|
161
|
+
/** @internal */
|
|
162
|
+
skipRootHtmlResource?: boolean;
|
|
161
163
|
}
|
|
162
164
|
export type LocateSettings<TLocator extends string, TSpec extends SpecType> = BaseCore.LocateSettings<TLocator, Region | ElementReference<TSpec>> & ScreenshotSettings<TSpec>;
|
|
163
165
|
export type LocateTextSettings<TPattern extends string, TSpec extends SpecType> = BaseCore.LocateTextSettings<TPattern, Region | ElementReference<TSpec>> & ScreenshotSettings<TSpec>;
|
|
@@ -32,6 +32,7 @@ export declare function makeCheckAndClose<TSpec extends SpecType>({ eyes, target
|
|
|
32
32
|
domains?: string[] | undefined;
|
|
33
33
|
}) | undefined;
|
|
34
34
|
headers?: Record<string, string> | undefined;
|
|
35
|
+
skipRootHtmlResource?: boolean | undefined;
|
|
35
36
|
} & import("@applitools/core-base").CloseSettings & {
|
|
36
37
|
environments?: Environment[] | undefined;
|
|
37
38
|
}) | undefined;
|
package/types/ufg/types.d.ts
CHANGED
|
@@ -67,6 +67,8 @@ export type SnapshotSettings<TSpec extends SpecType> = AutomationCore.CheckSetti
|
|
|
67
67
|
domains?: string[];
|
|
68
68
|
};
|
|
69
69
|
headers?: Record<string, string>;
|
|
70
|
+
/** @internal */
|
|
71
|
+
skipRootHtmlResource?: boolean;
|
|
70
72
|
};
|
|
71
73
|
export type CheckSettings<TSpec extends SpecType> = SnapshotSettings<TSpec>;
|
|
72
74
|
export type SafeCheckSettings = CheckSettings<SpecType<never, never, UFGSelector, never, never>>;
|
|
@@ -31,6 +31,8 @@ export type RawDomSnapshot = {
|
|
|
31
31
|
export type DomSnapshotSettings<TSpec extends SpecType> = {
|
|
32
32
|
disableBrowserFetching?: boolean;
|
|
33
33
|
skipResources?: string[];
|
|
34
|
+
/** @internal */
|
|
35
|
+
skipRootHtmlResource?: boolean;
|
|
34
36
|
fetchConcurrency?: number;
|
|
35
37
|
chunkByteLength?: number;
|
|
36
38
|
executionTimeout?: number;
|