@applitools/eyes-testcafe 6.2.8 → 6.2.11
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 +81 -0
- package/package.json +3 -3
- package/types/index.d.ts +181 -52
package/CHANGELOG.md
CHANGED
|
@@ -13,6 +13,87 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
## [6.2.11](https://github.com/Applitools-Dev/sdk/compare/js/eyes-testcafe@6.2.10...js/eyes-testcafe@6.2.11) (2024-10-29)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Dependencies
|
|
20
|
+
|
|
21
|
+
* @applitools/screenshoter bumped to 3.9.2
|
|
22
|
+
#### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* test in screenshoter web ([f068dbe](https://github.com/Applitools-Dev/sdk/commit/f068dbe9036163fb3e316411cfd9f47a226d7c9c))
|
|
25
|
+
* @applitools/core bumped to 4.21.2
|
|
26
|
+
|
|
27
|
+
* @applitools/eyes bumped to 1.25.1
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [6.2.10](https://github.com/Applitools-Dev/sdk/compare/js/eyes-testcafe-v6.2.9...js/eyes-testcafe@6.2.10) (2024-10-21)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* plain object target syntax ([#2515](https://github.com/Applitools-Dev/sdk/issues/2515)) ([71842b8](https://github.com/Applitools-Dev/sdk/commit/71842b89bd05b68482df7ed16a6483ec716ddf55))
|
|
36
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
37
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Dependencies
|
|
41
|
+
|
|
42
|
+
* @applitools/snippets bumped to 2.5.1
|
|
43
|
+
#### Bug Fixes
|
|
44
|
+
|
|
45
|
+
* isStaleElement error ([#2567](https://github.com/Applitools-Dev/sdk/issues/2567)) ([2675086](https://github.com/Applitools-Dev/sdk/commit/2675086aa28589082249e2958942ee29a5f2ef12))
|
|
46
|
+
* @applitools/screenshoter bumped to 3.9.0
|
|
47
|
+
#### Features
|
|
48
|
+
|
|
49
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
* @applitools/core bumped to 4.21.0
|
|
54
|
+
#### Features
|
|
55
|
+
|
|
56
|
+
* add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
|
|
57
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
58
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
59
|
+
* setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
#### Bug Fixes
|
|
63
|
+
|
|
64
|
+
* don't remove offline execution folder after running ([654e195](https://github.com/Applitools-Dev/sdk/commit/654e195dd50dc7dab93dd907ec26d788549c6e81))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.15
|
|
69
|
+
|
|
70
|
+
* @applitools/spec-driver-selenium bumped to 1.5.86
|
|
71
|
+
|
|
72
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.15
|
|
73
|
+
|
|
74
|
+
* @applitools/nml-client bumped to 1.8.13
|
|
75
|
+
|
|
76
|
+
* @applitools/core-base bumped to 1.18.0
|
|
77
|
+
#### Features
|
|
78
|
+
|
|
79
|
+
* ability to download side by side with highlighted diffs (2419) ([#2530](https://github.com/Applitools-Dev/sdk/issues/2530)) ([e06ce69](https://github.com/Applitools-Dev/sdk/commit/e06ce699f30e9e444ac58dafdf5989ff1c96ca1c))
|
|
80
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
81
|
+
* setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
|
|
82
|
+
* @applitools/ec-client bumped to 1.9.9
|
|
83
|
+
|
|
84
|
+
* @applitools/eyes bumped to 1.24.0
|
|
85
|
+
#### Features
|
|
86
|
+
|
|
87
|
+
* ability to download side by side with highlighted diffs (2419) ([#2530](https://github.com/Applitools-Dev/sdk/issues/2530)) ([e06ce69](https://github.com/Applitools-Dev/sdk/commit/e06ce699f30e9e444ac58dafdf5989ff1c96ca1c))
|
|
88
|
+
* add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
|
|
89
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
90
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
* @applitools/driver bumped to 1.19.3
|
|
95
|
+
|
|
96
|
+
|
|
16
97
|
## [6.2.8](https://github.com/Applitools-Dev/sdk/compare/js/eyes-testcafe@6.2.7...js/eyes-testcafe@6.2.8) (2024-09-10)
|
|
17
98
|
|
|
18
99
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-testcafe",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.11",
|
|
4
4
|
"description": "Applitools Eyes SDK for TestCafe",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-testcafe",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"up:framework": "echo \"$(jq '.devDependencies.testcafe = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@applitools/driver": "1.19.
|
|
72
|
-
"@applitools/eyes": "1.
|
|
71
|
+
"@applitools/driver": "1.19.4",
|
|
72
|
+
"@applitools/eyes": "1.25.1",
|
|
73
73
|
"@applitools/utils": "1.7.4"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
package/types/index.d.ts
CHANGED
|
@@ -170,7 +170,93 @@ export class Eyes {
|
|
|
170
170
|
clearSessionEventHandlers(): void;
|
|
171
171
|
waitForResults(throwErr: boolean): Promise<TestResultsSummary>;
|
|
172
172
|
}
|
|
173
|
-
export type
|
|
173
|
+
export type CheckSettingsImagePlain = {
|
|
174
|
+
name?: undefined | string;
|
|
175
|
+
region?: undefined | RegionPlain;
|
|
176
|
+
matchLevel?: undefined | MatchLevelPlain;
|
|
177
|
+
useDom?: undefined | boolean;
|
|
178
|
+
sendDom?: undefined | boolean;
|
|
179
|
+
enablePatterns?: undefined | boolean;
|
|
180
|
+
ignoreDisplacements?: undefined | boolean;
|
|
181
|
+
ignoreMismatch?: undefined | boolean;
|
|
182
|
+
ignoreCaret?: undefined | boolean;
|
|
183
|
+
ignoreRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
184
|
+
layoutRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
185
|
+
strictRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
186
|
+
contentRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
187
|
+
floatingRegions?: undefined | Array<RegionPlain | {
|
|
188
|
+
region: RegionPlain;
|
|
189
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
190
|
+
regionId?: undefined | string;
|
|
191
|
+
offset?: undefined | { top?: undefined | number; bottom?: undefined | number; left?: undefined | number; right?: undefined | number; };
|
|
192
|
+
} | {
|
|
193
|
+
region: RegionPlain;
|
|
194
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
195
|
+
regionId?: undefined | string;
|
|
196
|
+
maxUpOffset?: undefined | number;
|
|
197
|
+
maxDownOffset?: undefined | number;
|
|
198
|
+
maxLeftOffset?: undefined | number;
|
|
199
|
+
maxRightOffset?: undefined | number;
|
|
200
|
+
}>;
|
|
201
|
+
accessibilityRegions?: undefined | Array<RegionPlain | {
|
|
202
|
+
region: RegionPlain;
|
|
203
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
204
|
+
regionId?: undefined | string;
|
|
205
|
+
type?: undefined | AccessibilityRegionTypePlain;
|
|
206
|
+
}>;
|
|
207
|
+
dynamicRegions?: undefined | Array<RegionPlain | {
|
|
208
|
+
region: RegionPlain;
|
|
209
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
210
|
+
regionId?: undefined | string;
|
|
211
|
+
type?: undefined | string | Array<string>;
|
|
212
|
+
}>;
|
|
213
|
+
pageId?: undefined | string;
|
|
214
|
+
variationGroupId?: undefined | string;
|
|
215
|
+
densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
|
|
216
|
+
};
|
|
217
|
+
export type CheckSettingsAutomationPlain = {
|
|
218
|
+
name?: undefined | string;
|
|
219
|
+
region?: undefined | (RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })));
|
|
220
|
+
matchLevel?: undefined | MatchLevelPlain;
|
|
221
|
+
useDom?: undefined | boolean;
|
|
222
|
+
sendDom?: undefined | boolean;
|
|
223
|
+
enablePatterns?: undefined | boolean;
|
|
224
|
+
ignoreDisplacements?: undefined | boolean;
|
|
225
|
+
ignoreMismatch?: undefined | boolean;
|
|
226
|
+
ignoreCaret?: undefined | boolean;
|
|
227
|
+
ignoreRegions?: undefined | Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | { region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })); padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
228
|
+
layoutRegions?: undefined | Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | { region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })); padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
229
|
+
strictRegions?: undefined | Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | { region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })); padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
230
|
+
contentRegions?: undefined | Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | { region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })); padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
231
|
+
floatingRegions?: undefined | Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | {
|
|
232
|
+
region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
233
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
234
|
+
regionId?: undefined | string;
|
|
235
|
+
offset?: undefined | { top?: undefined | number; bottom?: undefined | number; left?: undefined | number; right?: undefined | number; };
|
|
236
|
+
} | {
|
|
237
|
+
region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
238
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
239
|
+
regionId?: undefined | string;
|
|
240
|
+
maxUpOffset?: undefined | number;
|
|
241
|
+
maxDownOffset?: undefined | number;
|
|
242
|
+
maxLeftOffset?: undefined | number;
|
|
243
|
+
maxRightOffset?: undefined | number;
|
|
244
|
+
}>;
|
|
245
|
+
accessibilityRegions?: undefined | Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | {
|
|
246
|
+
region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
247
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
248
|
+
regionId?: undefined | string;
|
|
249
|
+
type?: undefined | AccessibilityRegionTypePlain;
|
|
250
|
+
}>;
|
|
251
|
+
dynamicRegions?: undefined | Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | {
|
|
252
|
+
region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
253
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
254
|
+
regionId?: undefined | string;
|
|
255
|
+
type?: undefined | string | Array<string>;
|
|
256
|
+
}>;
|
|
257
|
+
pageId?: undefined | string;
|
|
258
|
+
variationGroupId?: undefined | string;
|
|
259
|
+
densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
|
|
174
260
|
frames?: undefined | Array<{ frame: number | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })); scrollRootElement?: undefined | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })); } | (number | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })))>;
|
|
175
261
|
webview?: undefined | string | boolean;
|
|
176
262
|
scrollRootElement?: undefined | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
@@ -274,11 +360,26 @@ export class CheckSettingsAutomation {
|
|
|
274
360
|
type?: undefined | AccessibilityRegionTypePlain;
|
|
275
361
|
}>): CheckSettingsAutomation;
|
|
276
362
|
accessibilityRegions(type: AccessibilityRegionTypePlain, ...regions: Array<LegacyRegionPlain | (RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })))>): CheckSettingsAutomation;
|
|
363
|
+
dynamicRegion(region: {
|
|
364
|
+
region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
365
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
366
|
+
regionId?: undefined | string;
|
|
367
|
+
type?: undefined | string | Array<string>;
|
|
368
|
+
}): CheckSettingsAutomation;
|
|
369
|
+
dynamicRegion(region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))): CheckSettingsAutomation;
|
|
370
|
+
dynamicRegion(region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })), type?: undefined | string | Array<string>): CheckSettingsAutomation;
|
|
371
|
+
dynamicRegions(...regions: Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | {
|
|
372
|
+
region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
373
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
374
|
+
regionId?: undefined | string;
|
|
375
|
+
type?: undefined | string | Array<string>;
|
|
376
|
+
}>): CheckSettingsAutomation;
|
|
277
377
|
matchLevel(matchLevel: MatchLevelPlain): CheckSettingsAutomation;
|
|
278
378
|
layout(): CheckSettingsAutomation;
|
|
279
379
|
exact(): CheckSettingsAutomation;
|
|
280
380
|
strict(): CheckSettingsAutomation;
|
|
281
381
|
ignoreColors(): CheckSettingsAutomation;
|
|
382
|
+
dynamic(): CheckSettingsAutomation;
|
|
282
383
|
content(): CheckSettingsAutomation;
|
|
283
384
|
enablePatterns(enablePatterns?: undefined | boolean): CheckSettingsAutomation;
|
|
284
385
|
ignoreDisplacements(ignoreDisplacements?: undefined | boolean): CheckSettingsAutomation;
|
|
@@ -358,12 +459,13 @@ export type ConfigurationPlain = {
|
|
|
358
459
|
rotation?: undefined | ImageRotationPlain;
|
|
359
460
|
scaleRatio?: undefined | number;
|
|
360
461
|
concurrentSessions?: undefined | number;
|
|
361
|
-
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
462
|
+
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>;
|
|
362
463
|
visualGridOptions?: undefined | Record<string, any>;
|
|
363
464
|
layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
|
|
364
465
|
disableBrowserFetching?: undefined | boolean;
|
|
365
466
|
waitBeforeCapture?: undefined | number;
|
|
366
467
|
disableNMLUrlCache?: undefined | boolean;
|
|
468
|
+
captureStatusBar?: undefined | boolean;
|
|
367
469
|
};
|
|
368
470
|
export class Configuration implements Required<ConfigurationPlain> {
|
|
369
471
|
constructor(config?: undefined | ConfigurationPlain);
|
|
@@ -580,9 +682,9 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
580
682
|
set concurrentSessions(concurrentSessions: number);
|
|
581
683
|
getConcurrentSessions(): number;
|
|
582
684
|
setConcurrentSessions(concurrentSessions: number): Configuration;
|
|
583
|
-
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
584
|
-
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
585
|
-
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
685
|
+
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>;
|
|
686
|
+
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>);
|
|
687
|
+
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>;
|
|
586
688
|
setBrowsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
587
689
|
addBrowsers(...browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
588
690
|
addBrowser(browserInfo: (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })): Configuration;
|
|
@@ -590,7 +692,7 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
590
692
|
addDeviceEmulation(deviceName: DeviceNamePlain, screenOrientation?: undefined | ScreenOrientationPlain): Configuration;
|
|
591
693
|
addMobileDevice(deviceName: AndroidDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
|
|
592
694
|
addMobileDevice(deviceName: IosDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
|
|
593
|
-
addMultiDeviceTarget(deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
695
|
+
addMultiDeviceTarget(deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"): Configuration;
|
|
594
696
|
get visualGridOptions(): { [key: string]: any; };
|
|
595
697
|
set visualGridOptions(visualGridOptions: { [key: string]: any; });
|
|
596
698
|
getVisualGridOptions(): { [key: string]: any; };
|
|
@@ -612,6 +714,10 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
612
714
|
set disableNMLUrlCache(disableNMLUrlCache: boolean);
|
|
613
715
|
getDisableNMLUrlCache(): boolean;
|
|
614
716
|
setDisableNMLUrlCache(disableNMLUrlCache: boolean): Configuration;
|
|
717
|
+
get captureStatusBar(): boolean;
|
|
718
|
+
set captureStatusBar(captureStatusBar: boolean);
|
|
719
|
+
getCaptureStatusBar(): boolean;
|
|
720
|
+
setCaptureStatusBar(captureStatusBar: boolean): Configuration;
|
|
615
721
|
}
|
|
616
722
|
export class BatchClose {
|
|
617
723
|
static close(settings: { batchIds: Array<string>; serverUrl: string; apiKey: string; proxy?: undefined | ProxySettingsPlain; }): Promise<void>;
|
|
@@ -705,14 +811,19 @@ export enum CorsIframeHandle {
|
|
|
705
811
|
KEEP = 'KEEP',
|
|
706
812
|
SNAPSHOT = 'SNAPSHOT'
|
|
707
813
|
}
|
|
708
|
-
export type DeviceNamePlain = "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11";
|
|
814
|
+
export type DeviceNamePlain = "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3";
|
|
709
815
|
export enum DeviceName {
|
|
710
816
|
iPhone_4 = 'iPhone 4',
|
|
711
817
|
iPhone_5SE = 'iPhone 5/SE',
|
|
712
818
|
iPhone_5S_E = 'iPhone 5/SE',
|
|
819
|
+
iPhone_SE_3rd_Gen = 'iPhone SE 3rd Gen',
|
|
713
820
|
iPhone_6_7_8 = 'iPhone 6/7/8',
|
|
714
821
|
iPhone_6_7_8_Plus = 'iPhone 6/7/8 Plus',
|
|
715
822
|
iPhone_X = 'iPhone X',
|
|
823
|
+
iPhone_13_Mini = 'iPhone 13 Mini',
|
|
824
|
+
iPhone_14_Plus = 'iPhone 14 Plus',
|
|
825
|
+
iPhone_14_Pro = 'iPhone 14 Pro',
|
|
826
|
+
iPhone_15_Pro = 'iPhone 15 Pro',
|
|
716
827
|
BlackBerry_Z30 = 'BlackBerry Z30',
|
|
717
828
|
Nexus_4 = 'Nexus 4',
|
|
718
829
|
Nexus_5 = 'Nexus 5',
|
|
@@ -733,6 +844,10 @@ export enum DeviceName {
|
|
|
733
844
|
iPad_Mini = 'iPad Mini',
|
|
734
845
|
iPad = 'iPad',
|
|
735
846
|
iPad_Pro = 'iPad Pro',
|
|
847
|
+
iPad_8th_Gen = 'iPad 8th Gen',
|
|
848
|
+
iPad_10th_Gen = 'iPad 10th Gen',
|
|
849
|
+
iPad_Mini_4th_Gen = 'iPad Mini 4th Gen',
|
|
850
|
+
iPad_Mini_6th_Gen = 'iPad Mini 6th Gen',
|
|
736
851
|
Blackberry_PlayBook = 'Blackberry PlayBook',
|
|
737
852
|
Nexus_10 = 'Nexus 10',
|
|
738
853
|
Nexus_7 = 'Nexus 7',
|
|
@@ -770,6 +885,13 @@ export enum DeviceName {
|
|
|
770
885
|
Galaxy_Note_9 = 'Galaxy Note 9',
|
|
771
886
|
Galaxy_Note_8 = 'Galaxy Note 8',
|
|
772
887
|
Galaxy_Note_4 = 'Galaxy Note 4',
|
|
888
|
+
Galaxy_Tab_A_SM_T510 = 'Galaxy Tab A SM-T510',
|
|
889
|
+
Galaxy_Tab_A7_SM_T500 = 'Galaxy Tab A7 SM-T500',
|
|
890
|
+
Galaxy_Tab_S8 = 'Galaxy Tab S8',
|
|
891
|
+
Galaxy_Tab_A8 = 'Galaxy Tab A8',
|
|
892
|
+
Galaxy_S23 = 'Galaxy S23',
|
|
893
|
+
Galaxy_S23_Ultra = 'Galaxy S23 Ultra',
|
|
894
|
+
Galaxy_A52s = 'Galaxy A52s',
|
|
773
895
|
Pixel_3 = 'Pixel 3',
|
|
774
896
|
Pixel_3_XL = 'Pixel 3 XL',
|
|
775
897
|
Pixel_4 = 'Pixel 4',
|
|
@@ -781,24 +903,32 @@ export enum DeviceName {
|
|
|
781
903
|
Galaxy_Tab_S7 = 'Galaxy Tab S7',
|
|
782
904
|
Sony_Xperia_10_II = 'Sony Xperia 10 II',
|
|
783
905
|
Huawei_Mate_50_Pro = 'Huawei Mate 50 Pro',
|
|
784
|
-
Huawei_Matepad_11 = 'Huawei Matepad 11'
|
|
906
|
+
Huawei_Matepad_11 = 'Huawei Matepad 11',
|
|
907
|
+
Huawei_P30 = 'Huawei P30',
|
|
908
|
+
Xiaomi_Mi_A3 = 'Xiaomi Mi A3',
|
|
909
|
+
Huawei_P40 = 'Huawei P40',
|
|
910
|
+
Xiaomi_Redmi_Note_8 = 'Xiaomi Redmi Note 8',
|
|
911
|
+
Xiaomi_Mi_Poco_X3_Pro = 'Xiaomi Mi Poco X3 Pro',
|
|
912
|
+
Xiaomi_Poco_X3 = 'Xiaomi Poco X3'
|
|
785
913
|
}
|
|
786
914
|
export type FailureReportPlain = "IMMEDIATE" | "ON_CLOSE";
|
|
787
915
|
export enum FailureReport {
|
|
788
916
|
IMMEDIATE = 'IMMEDIATE',
|
|
789
917
|
ON_CLOSE = 'ON_CLOSE'
|
|
790
918
|
}
|
|
791
|
-
export type IosDeviceNamePlain = "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone
|
|
919
|
+
export type IosDeviceNamePlain = "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus";
|
|
792
920
|
export enum IosDeviceName {
|
|
793
921
|
iPad_7 = 'iPad (7th generation)',
|
|
794
922
|
iPad_9 = 'iPad (9th generation)',
|
|
923
|
+
iPad_10 = 'iPad (10th generation)',
|
|
924
|
+
iPad_mini_6 = 'iPad mini (6th generation)',
|
|
795
925
|
iPad_Air_4 = 'iPad Air (4th generation)',
|
|
796
926
|
iPad_Pro_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
797
927
|
iPad_Pro_12_9_inch_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
798
928
|
iPad_Pro_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
799
929
|
iPad_Pro_11_inch_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
800
|
-
|
|
801
|
-
|
|
930
|
+
iPhone_SE_2 = 'iPhone SE (2nd generation)',
|
|
931
|
+
iPhone_SE_3 = 'iPhone SE (3rd generation)',
|
|
802
932
|
iPhone_X = 'iPhone X',
|
|
803
933
|
iPhone_XR = 'iPhone XR',
|
|
804
934
|
iPhone_XS = 'iPhone Xs',
|
|
@@ -811,12 +941,21 @@ export enum IosDeviceName {
|
|
|
811
941
|
iPhone_12_Pro_Max = 'iPhone 12 Pro Max',
|
|
812
942
|
iPhone_12_Pro = 'iPhone 12 Pro',
|
|
813
943
|
iPhone_13 = 'iPhone 13',
|
|
944
|
+
iPhone_13_mini = 'iPhone 13 mini',
|
|
814
945
|
iPhone_13_Pro_Max = 'iPhone 13 Pro Max',
|
|
815
946
|
iPhone_13_Pro = 'iPhone 13 Pro',
|
|
816
947
|
iPhone_14 = 'iPhone 14',
|
|
817
948
|
iPhone_14_Pro_Max = 'iPhone 14 Pro Max',
|
|
949
|
+
iPhone_14_Pro = 'iPhone 14 Pro',
|
|
950
|
+
iPhone_14_Plus = 'iPhone 14 Plus',
|
|
818
951
|
iPhone_15 = 'iPhone 15',
|
|
819
|
-
iPhone_15_Pro_Max = 'iPhone 15 Pro Max'
|
|
952
|
+
iPhone_15_Pro_Max = 'iPhone 15 Pro Max',
|
|
953
|
+
iPhone_15_Pro = 'iPhone 15 Pro',
|
|
954
|
+
iPhone_15_Plus = 'iPhone 15 Plus',
|
|
955
|
+
iPhone_16 = 'iPhone 16',
|
|
956
|
+
iPhone_16_Pro_Max = 'iPhone 16 Pro Max',
|
|
957
|
+
iPhone_16_Pro = 'iPhone 16 Pro',
|
|
958
|
+
iPhone_16_Plus = 'iPhone 16 Plus'
|
|
820
959
|
}
|
|
821
960
|
export type IosVersionPlain = AndroidVersionPlain;
|
|
822
961
|
export enum IosVersion {
|
|
@@ -824,7 +963,7 @@ export enum IosVersion {
|
|
|
824
963
|
ONE_VERSION_BACK = 'latest-1',
|
|
825
964
|
LATEST_ONE_VERSION_BACK = 'latest-1'
|
|
826
965
|
}
|
|
827
|
-
export type AndroidDeviceNamePlain = "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S10" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Galaxy S20 Plus" | "Galaxy S21 Plus" | "Xiaomi Redmi Note 11 Pro" | "Xiaomi Redmi Note 11" | "Xiaomi Redmi Note 10 JE" | "Pixel 6" | "Galaxy S22 Plus" | "
|
|
966
|
+
export type AndroidDeviceNamePlain = "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S10" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Tab S8" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Galaxy S20 Plus" | "Galaxy S21 Plus" | "Xiaomi Redmi Note 11 Pro" | "Xiaomi Redmi Note 11" | "Xiaomi Redmi Note 10 JE" | "Pixel 6" | "Galaxy S22 Plus" | "Sony Xperia 1 II" | "Sony Xperia Ace II" | "Huawei P30 Lite";
|
|
828
967
|
export enum AndroidDeviceName {
|
|
829
968
|
Galaxy_S20 = 'Galaxy S20',
|
|
830
969
|
Galaxy_S20_Plus = 'Galaxy S20 Plus',
|
|
@@ -861,7 +1000,7 @@ export enum AndroidVersion {
|
|
|
861
1000
|
LATEST = 'latest',
|
|
862
1001
|
ONE_VERSION_BACK = 'latest-1'
|
|
863
1002
|
}
|
|
864
|
-
export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Exact";
|
|
1003
|
+
export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
865
1004
|
export enum MatchLevel {
|
|
866
1005
|
None = 'None',
|
|
867
1006
|
LegacyLayout = 'Layout1',
|
|
@@ -870,6 +1009,7 @@ export enum MatchLevel {
|
|
|
870
1009
|
Content = 'Content',
|
|
871
1010
|
IgnoreColors = 'IgnoreColors',
|
|
872
1011
|
Strict = 'Strict',
|
|
1012
|
+
Dynamic = 'Dynamic',
|
|
873
1013
|
Exact = 'Exact'
|
|
874
1014
|
}
|
|
875
1015
|
export type ScreenOrientationPlain = "portrait" | "landscape";
|
|
@@ -919,6 +1059,15 @@ export enum AccessibilityStatus {
|
|
|
919
1059
|
Passed = 'Passed',
|
|
920
1060
|
Failed = 'Failed'
|
|
921
1061
|
}
|
|
1062
|
+
export type DynamicTextTypePlain = "TextField" | "Number" | "Date" | "Link" | "Email" | "Currency";
|
|
1063
|
+
export enum DynamicTextType {
|
|
1064
|
+
TextField = 'TextField',
|
|
1065
|
+
Number = 'Number',
|
|
1066
|
+
Date = 'Date',
|
|
1067
|
+
Link = 'Link',
|
|
1068
|
+
Email = 'Email',
|
|
1069
|
+
Currency = 'Currency'
|
|
1070
|
+
}
|
|
922
1071
|
export class EyesError extends Error {
|
|
923
1072
|
}
|
|
924
1073
|
export class TestFailedError extends EyesError {
|
|
@@ -1005,44 +1154,6 @@ export type Image = {
|
|
|
1005
1154
|
locationInView?: undefined | LocationPlain;
|
|
1006
1155
|
fullViewSize?: undefined | RectangleSizePlain;
|
|
1007
1156
|
};
|
|
1008
|
-
export type CheckSettingsImagePlain = {
|
|
1009
|
-
name?: undefined | string;
|
|
1010
|
-
region?: undefined | RegionPlain;
|
|
1011
|
-
matchLevel?: undefined | MatchLevelPlain;
|
|
1012
|
-
useDom?: undefined | boolean;
|
|
1013
|
-
sendDom?: undefined | boolean;
|
|
1014
|
-
enablePatterns?: undefined | boolean;
|
|
1015
|
-
ignoreDisplacements?: undefined | boolean;
|
|
1016
|
-
ignoreMismatch?: undefined | boolean;
|
|
1017
|
-
ignoreCaret?: undefined | boolean;
|
|
1018
|
-
ignoreRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
1019
|
-
layoutRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
1020
|
-
strictRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
1021
|
-
contentRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
1022
|
-
floatingRegions?: undefined | Array<RegionPlain | {
|
|
1023
|
-
region: RegionPlain;
|
|
1024
|
-
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1025
|
-
regionId?: undefined | string;
|
|
1026
|
-
offset?: undefined | { top?: undefined | number; bottom?: undefined | number; left?: undefined | number; right?: undefined | number; };
|
|
1027
|
-
} | {
|
|
1028
|
-
region: RegionPlain;
|
|
1029
|
-
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1030
|
-
regionId?: undefined | string;
|
|
1031
|
-
maxUpOffset?: undefined | number;
|
|
1032
|
-
maxDownOffset?: undefined | number;
|
|
1033
|
-
maxLeftOffset?: undefined | number;
|
|
1034
|
-
maxRightOffset?: undefined | number;
|
|
1035
|
-
}>;
|
|
1036
|
-
accessibilityRegions?: undefined | Array<RegionPlain | {
|
|
1037
|
-
region: RegionPlain;
|
|
1038
|
-
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1039
|
-
regionId?: undefined | string;
|
|
1040
|
-
type?: undefined | AccessibilityRegionTypePlain;
|
|
1041
|
-
}>;
|
|
1042
|
-
pageId?: undefined | string;
|
|
1043
|
-
variationGroupId?: undefined | string;
|
|
1044
|
-
densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
|
|
1045
|
-
};
|
|
1046
1157
|
export class CheckSettingsImage {
|
|
1047
1158
|
constructor(settings?: undefined | CheckSettingsImage | CheckSettingsImagePlain, target?: undefined | Image, parent?: undefined | CheckSettingsImage);
|
|
1048
1159
|
image(image: string | Buffer | URL): CheckSettingsImage;
|
|
@@ -1116,11 +1227,26 @@ export class CheckSettingsImage {
|
|
|
1116
1227
|
type?: undefined | AccessibilityRegionTypePlain;
|
|
1117
1228
|
}>): CheckSettingsImage;
|
|
1118
1229
|
accessibilityRegions(type: AccessibilityRegionTypePlain, ...regions: Array<RegionPlain | LegacyRegionPlain>): CheckSettingsImage;
|
|
1230
|
+
dynamicRegion(region: {
|
|
1231
|
+
region: RegionPlain;
|
|
1232
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1233
|
+
regionId?: undefined | string;
|
|
1234
|
+
type?: undefined | string | Array<string>;
|
|
1235
|
+
}): CheckSettingsImage;
|
|
1236
|
+
dynamicRegion(region: RegionPlain): CheckSettingsImage;
|
|
1237
|
+
dynamicRegion(region: RegionPlain, type?: undefined | string | Array<string>): CheckSettingsImage;
|
|
1238
|
+
dynamicRegions(...regions: Array<RegionPlain | {
|
|
1239
|
+
region: RegionPlain;
|
|
1240
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1241
|
+
regionId?: undefined | string;
|
|
1242
|
+
type?: undefined | string | Array<string>;
|
|
1243
|
+
}>): CheckSettingsImage;
|
|
1119
1244
|
matchLevel(matchLevel: MatchLevelPlain): CheckSettingsImage;
|
|
1120
1245
|
layout(): CheckSettingsImage;
|
|
1121
1246
|
exact(): CheckSettingsImage;
|
|
1122
1247
|
strict(): CheckSettingsImage;
|
|
1123
1248
|
ignoreColors(): CheckSettingsImage;
|
|
1249
|
+
dynamic(): CheckSettingsImage;
|
|
1124
1250
|
content(): CheckSettingsImage;
|
|
1125
1251
|
enablePatterns(enablePatterns?: undefined | boolean): CheckSettingsImage;
|
|
1126
1252
|
ignoreDisplacements(ignoreDisplacements?: undefined | boolean): CheckSettingsImage;
|
|
@@ -1463,6 +1589,7 @@ export type ApiUrlsPlain = {
|
|
|
1463
1589
|
readonly checkpointImage: string;
|
|
1464
1590
|
readonly checkpointImageThumbnail: string;
|
|
1465
1591
|
readonly diffImage: string;
|
|
1592
|
+
readonly sideBySideImage: string;
|
|
1466
1593
|
};
|
|
1467
1594
|
export class ApiUrls implements Required<ApiUrlsPlain> {
|
|
1468
1595
|
get baselineImage(): string;
|
|
@@ -1480,6 +1607,8 @@ export class ApiUrls implements Required<ApiUrlsPlain> {
|
|
|
1480
1607
|
get diffImage(): string;
|
|
1481
1608
|
getDiffImage(): string;
|
|
1482
1609
|
setDiffImage(diffImage: string): void;
|
|
1610
|
+
get sideBySideImage(): string;
|
|
1611
|
+
getSideBySideImage(): string;
|
|
1483
1612
|
}
|
|
1484
1613
|
export type AppUrlsPlain = { readonly step: string; readonly stepEditor: string; };
|
|
1485
1614
|
export class AppUrls implements Required<AppUrlsPlain> {
|