@applitools/eyes-puppeteer 1.27.8 → 1.27.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 +192 -58
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,86 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.27.11](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer@1.27.10...js/eyes-puppeteer@1.27.11) (2024-10-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/screenshoter bumped to 3.9.2
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* test in screenshoter web ([f068dbe](https://github.com/Applitools-Dev/sdk/commit/f068dbe9036163fb3e316411cfd9f47a226d7c9c))
|
|
12
|
+
* @applitools/core bumped to 4.21.2
|
|
13
|
+
|
|
14
|
+
* @applitools/eyes bumped to 1.25.1
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.27.10](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer-v1.27.9...js/eyes-puppeteer@1.27.10) (2024-10-21)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* plain object target syntax ([#2515](https://github.com/Applitools-Dev/sdk/issues/2515)) ([71842b8](https://github.com/Applitools-Dev/sdk/commit/71842b89bd05b68482df7ed16a6483ec716ddf55))
|
|
23
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
24
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Dependencies
|
|
28
|
+
|
|
29
|
+
* @applitools/snippets bumped to 2.5.1
|
|
30
|
+
#### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* isStaleElement error ([#2567](https://github.com/Applitools-Dev/sdk/issues/2567)) ([2675086](https://github.com/Applitools-Dev/sdk/commit/2675086aa28589082249e2958942ee29a5f2ef12))
|
|
33
|
+
* @applitools/screenshoter bumped to 3.9.0
|
|
34
|
+
#### Features
|
|
35
|
+
|
|
36
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
* @applitools/core bumped to 4.21.0
|
|
41
|
+
#### Features
|
|
42
|
+
|
|
43
|
+
* add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
|
|
44
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
45
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
46
|
+
* setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
#### Bug Fixes
|
|
50
|
+
|
|
51
|
+
* don't remove offline execution folder after running ([654e195](https://github.com/Applitools-Dev/sdk/commit/654e195dd50dc7dab93dd907ec26d788549c6e81))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
* @applitools/driver bumped to 1.19.3
|
|
56
|
+
|
|
57
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.15
|
|
58
|
+
|
|
59
|
+
* @applitools/spec-driver-selenium bumped to 1.5.86
|
|
60
|
+
|
|
61
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.15
|
|
62
|
+
|
|
63
|
+
* @applitools/nml-client bumped to 1.8.13
|
|
64
|
+
|
|
65
|
+
* @applitools/core-base bumped to 1.18.0
|
|
66
|
+
#### Features
|
|
67
|
+
|
|
68
|
+
* 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))
|
|
69
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
70
|
+
* setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
|
|
71
|
+
* @applitools/ec-client bumped to 1.9.9
|
|
72
|
+
|
|
73
|
+
* @applitools/eyes bumped to 1.24.0
|
|
74
|
+
#### Features
|
|
75
|
+
|
|
76
|
+
* 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))
|
|
77
|
+
* add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
|
|
78
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
79
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
3
84
|
## [1.27.8](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer@1.27.7...js/eyes-puppeteer@1.27.8) (2024-09-10)
|
|
4
85
|
|
|
5
86
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-puppeteer",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.11",
|
|
4
4
|
"description": "Applitools Eyes SDK for Puppeteer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-puppeteer",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"up:framework": "echo \"$(jq '.devDependencies.puppeteer = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@applitools/eyes": "1.
|
|
40
|
-
"@applitools/spec-driver-puppeteer": "1.4.
|
|
39
|
+
"@applitools/eyes": "1.25.1",
|
|
40
|
+
"@applitools/spec-driver-puppeteer": "1.4.16"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@applitools/api-extractor": "^1.2.22",
|
package/types/index.d.ts
CHANGED
|
@@ -172,7 +172,93 @@ export class Eyes {
|
|
|
172
172
|
removeSessionEventHandler(handler: SessionEventHandler): void;
|
|
173
173
|
clearSessionEventHandlers(): void;
|
|
174
174
|
}
|
|
175
|
-
export type
|
|
175
|
+
export type CheckSettingsImagePlain = {
|
|
176
|
+
name?: undefined | string;
|
|
177
|
+
region?: undefined | RegionPlain;
|
|
178
|
+
matchLevel?: undefined | MatchLevelPlain;
|
|
179
|
+
useDom?: undefined | boolean;
|
|
180
|
+
sendDom?: undefined | boolean;
|
|
181
|
+
enablePatterns?: undefined | boolean;
|
|
182
|
+
ignoreDisplacements?: undefined | boolean;
|
|
183
|
+
ignoreMismatch?: undefined | boolean;
|
|
184
|
+
ignoreCaret?: undefined | boolean;
|
|
185
|
+
ignoreRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
186
|
+
layoutRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
187
|
+
strictRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
188
|
+
contentRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
189
|
+
floatingRegions?: undefined | Array<RegionPlain | {
|
|
190
|
+
region: RegionPlain;
|
|
191
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
192
|
+
regionId?: undefined | string;
|
|
193
|
+
offset?: undefined | { top?: undefined | number; bottom?: undefined | number; left?: undefined | number; right?: undefined | number; };
|
|
194
|
+
} | {
|
|
195
|
+
region: RegionPlain;
|
|
196
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
197
|
+
regionId?: undefined | string;
|
|
198
|
+
maxUpOffset?: undefined | number;
|
|
199
|
+
maxDownOffset?: undefined | number;
|
|
200
|
+
maxLeftOffset?: undefined | number;
|
|
201
|
+
maxRightOffset?: undefined | number;
|
|
202
|
+
}>;
|
|
203
|
+
accessibilityRegions?: undefined | Array<RegionPlain | {
|
|
204
|
+
region: RegionPlain;
|
|
205
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
206
|
+
regionId?: undefined | string;
|
|
207
|
+
type?: undefined | AccessibilityRegionTypePlain;
|
|
208
|
+
}>;
|
|
209
|
+
dynamicRegions?: undefined | Array<RegionPlain | {
|
|
210
|
+
region: RegionPlain;
|
|
211
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
212
|
+
regionId?: undefined | string;
|
|
213
|
+
type?: undefined | string | Array<string>;
|
|
214
|
+
}>;
|
|
215
|
+
pageId?: undefined | string;
|
|
216
|
+
variationGroupId?: undefined | string;
|
|
217
|
+
densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
|
|
218
|
+
};
|
|
219
|
+
export type CheckSettingsAutomationPlain = {
|
|
220
|
+
name?: undefined | string;
|
|
221
|
+
region?: undefined | (RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })));
|
|
222
|
+
matchLevel?: undefined | MatchLevelPlain;
|
|
223
|
+
useDom?: undefined | boolean;
|
|
224
|
+
sendDom?: undefined | boolean;
|
|
225
|
+
enablePatterns?: undefined | boolean;
|
|
226
|
+
ignoreDisplacements?: undefined | boolean;
|
|
227
|
+
ignoreMismatch?: undefined | boolean;
|
|
228
|
+
ignoreCaret?: undefined | boolean;
|
|
229
|
+
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; }>;
|
|
230
|
+
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; }>;
|
|
231
|
+
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; }>;
|
|
232
|
+
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; }>;
|
|
233
|
+
floatingRegions?: undefined | Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | {
|
|
234
|
+
region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
235
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
236
|
+
regionId?: undefined | string;
|
|
237
|
+
offset?: undefined | { top?: undefined | number; bottom?: undefined | number; left?: undefined | number; right?: undefined | number; };
|
|
238
|
+
} | {
|
|
239
|
+
region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
240
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
241
|
+
regionId?: undefined | string;
|
|
242
|
+
maxUpOffset?: undefined | number;
|
|
243
|
+
maxDownOffset?: undefined | number;
|
|
244
|
+
maxLeftOffset?: undefined | number;
|
|
245
|
+
maxRightOffset?: undefined | number;
|
|
246
|
+
}>;
|
|
247
|
+
accessibilityRegions?: undefined | Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | {
|
|
248
|
+
region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
249
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
250
|
+
regionId?: undefined | string;
|
|
251
|
+
type?: undefined | AccessibilityRegionTypePlain;
|
|
252
|
+
}>;
|
|
253
|
+
dynamicRegions?: undefined | Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | {
|
|
254
|
+
region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
255
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
256
|
+
regionId?: undefined | string;
|
|
257
|
+
type?: undefined | string | Array<string>;
|
|
258
|
+
}>;
|
|
259
|
+
pageId?: undefined | string;
|
|
260
|
+
variationGroupId?: undefined | string;
|
|
261
|
+
densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
|
|
176
262
|
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>; })))>;
|
|
177
263
|
webview?: undefined | string | boolean;
|
|
178
264
|
scrollRootElement?: undefined | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
@@ -297,11 +383,30 @@ export class CheckSettingsAutomation {
|
|
|
297
383
|
type?: undefined | AccessibilityRegionTypePlain;
|
|
298
384
|
}>): CheckSettingsAutomation;
|
|
299
385
|
accessibilityRegions(type: AccessibilityRegionTypePlain, ...regions: Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | LegacyRegionPlain>): CheckSettingsAutomation;
|
|
386
|
+
dynamicRegion(region: {
|
|
387
|
+
region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
388
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
389
|
+
regionId?: undefined | string;
|
|
390
|
+
type?: undefined | string | Array<string>;
|
|
391
|
+
}): CheckSettingsAutomation;
|
|
392
|
+
dynamicRegion(region: RegionPlain): CheckSettingsAutomation;
|
|
393
|
+
dynamicRegion(region: (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))): CheckSettingsAutomation;
|
|
394
|
+
dynamicRegion(region: RegionPlain, type?: undefined | string): CheckSettingsAutomation;
|
|
395
|
+
dynamicRegion(region: (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })), type?: undefined | string): CheckSettingsAutomation;
|
|
396
|
+
dynamicRegion(region: RegionPlain, type?: undefined | Array<string>): CheckSettingsAutomation;
|
|
397
|
+
dynamicRegion(region: (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })), type?: undefined | Array<string>): CheckSettingsAutomation;
|
|
398
|
+
dynamicRegions(...regions: Array<(RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))) | {
|
|
399
|
+
region: RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
400
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
401
|
+
regionId?: undefined | string;
|
|
402
|
+
type?: undefined | string | Array<string>;
|
|
403
|
+
}>): CheckSettingsAutomation;
|
|
300
404
|
matchLevel(matchLevel: MatchLevelPlain): CheckSettingsAutomation;
|
|
301
405
|
layout(): CheckSettingsAutomation;
|
|
302
406
|
exact(): CheckSettingsAutomation;
|
|
303
407
|
strict(): CheckSettingsAutomation;
|
|
304
408
|
ignoreColors(): CheckSettingsAutomation;
|
|
409
|
+
dynamic(): CheckSettingsAutomation;
|
|
305
410
|
content(): CheckSettingsAutomation;
|
|
306
411
|
enablePatterns(enablePatterns?: undefined | boolean): CheckSettingsAutomation;
|
|
307
412
|
ignoreDisplacements(ignoreDisplacements?: undefined | boolean): CheckSettingsAutomation;
|
|
@@ -391,12 +496,13 @@ export type ConfigurationPlain = {
|
|
|
391
496
|
rotation?: undefined | ImageRotationPlain;
|
|
392
497
|
scaleRatio?: undefined | number;
|
|
393
498
|
concurrentSessions?: undefined | number;
|
|
394
|
-
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
499
|
+
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"; }; })>;
|
|
395
500
|
visualGridOptions?: undefined | Record<string, any>;
|
|
396
501
|
layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
|
|
397
502
|
disableBrowserFetching?: undefined | boolean;
|
|
398
503
|
waitBeforeCapture?: undefined | number;
|
|
399
504
|
disableNMLUrlCache?: undefined | boolean;
|
|
505
|
+
captureStatusBar?: undefined | boolean;
|
|
400
506
|
};
|
|
401
507
|
export class Configuration implements Required<ConfigurationPlain> {
|
|
402
508
|
constructor(config?: undefined | ConfigurationPlain);
|
|
@@ -615,9 +721,9 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
615
721
|
set concurrentSessions(concurrentSessions: number);
|
|
616
722
|
getConcurrentSessions(): number;
|
|
617
723
|
setConcurrentSessions(concurrentSessions: number): Configuration;
|
|
618
|
-
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
619
|
-
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
620
|
-
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
724
|
+
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"; }; })>;
|
|
725
|
+
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"; }; })>);
|
|
726
|
+
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"; }; })>;
|
|
621
727
|
setBrowsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
622
728
|
addBrowsers(...browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
623
729
|
addBrowser(browserInfo: (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })): Configuration;
|
|
@@ -626,28 +732,28 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
626
732
|
addMobileDevice(deviceName: AndroidDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
|
|
627
733
|
addMobileDevice(deviceName: IosDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
|
|
628
734
|
addMultiDeviceTarget(deviceName: "iPhone X"): Configuration;
|
|
735
|
+
addMultiDeviceTarget(deviceName: "iPhone 14 Plus"): Configuration;
|
|
736
|
+
addMultiDeviceTarget(deviceName: "iPhone 14 Pro"): Configuration;
|
|
629
737
|
addMultiDeviceTarget(deviceName: "iPhone XR"): Configuration;
|
|
630
738
|
addMultiDeviceTarget(deviceName: "iPhone 11"): Configuration;
|
|
631
739
|
addMultiDeviceTarget(deviceName: "iPhone 11 Pro Max"): Configuration;
|
|
632
740
|
addMultiDeviceTarget(deviceName: "iPhone 11 Pro"): Configuration;
|
|
633
|
-
addMultiDeviceTarget(deviceName: "iPhone
|
|
634
|
-
addMultiDeviceTarget(deviceName: "iPhone
|
|
741
|
+
addMultiDeviceTarget(deviceName: "iPhone SE (2nd generation)"): Configuration;
|
|
742
|
+
addMultiDeviceTarget(deviceName: "iPhone SE (3rd generation)"): Configuration;
|
|
635
743
|
addMultiDeviceTarget(deviceName: "iPhone Xs"): Configuration;
|
|
636
744
|
addMultiDeviceTarget(deviceName: "iPhone 12"): Configuration;
|
|
637
745
|
addMultiDeviceTarget(deviceName: "iPhone 12 mini"): Configuration;
|
|
638
746
|
addMultiDeviceTarget(deviceName: "iPhone 12 Pro Max"): Configuration;
|
|
639
747
|
addMultiDeviceTarget(deviceName: "iPhone 12 Pro"): Configuration;
|
|
640
748
|
addMultiDeviceTarget(deviceName: "iPhone 13"): Configuration;
|
|
749
|
+
addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
|
|
641
750
|
addMultiDeviceTarget(deviceName: "iPhone 13 Pro Max"): Configuration;
|
|
642
751
|
addMultiDeviceTarget(deviceName: "iPhone 13 Pro"): Configuration;
|
|
643
752
|
addMultiDeviceTarget(deviceName: "iPhone 14"): Configuration;
|
|
644
753
|
addMultiDeviceTarget(deviceName: "iPhone 14 Pro Max"): Configuration;
|
|
645
|
-
addMultiDeviceTarget(deviceName: "iPhone
|
|
646
|
-
addMultiDeviceTarget(deviceName: "iPhone
|
|
647
|
-
addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
|
|
754
|
+
addMultiDeviceTarget(deviceName: "iPhone 8"): Configuration;
|
|
755
|
+
addMultiDeviceTarget(deviceName: "iPhone 8 Plus"): Configuration;
|
|
648
756
|
addMultiDeviceTarget(deviceName: "iPhone Xs Max"): Configuration;
|
|
649
|
-
addMultiDeviceTarget(deviceName: "iPhone 14 Pro"): Configuration;
|
|
650
|
-
addMultiDeviceTarget(deviceName: "iPhone 14 Plus"): Configuration;
|
|
651
757
|
get visualGridOptions(): { [key: string]: any; };
|
|
652
758
|
set visualGridOptions(visualGridOptions: { [key: string]: any; });
|
|
653
759
|
getVisualGridOptions(): { [key: string]: any; };
|
|
@@ -671,6 +777,10 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
671
777
|
set disableNMLUrlCache(disableNMLUrlCache: boolean);
|
|
672
778
|
getDisableNMLUrlCache(): boolean;
|
|
673
779
|
setDisableNMLUrlCache(disableNMLUrlCache: boolean): Configuration;
|
|
780
|
+
get captureStatusBar(): boolean;
|
|
781
|
+
set captureStatusBar(captureStatusBar: boolean);
|
|
782
|
+
getCaptureStatusBar(): boolean;
|
|
783
|
+
setCaptureStatusBar(captureStatusBar: boolean): Configuration;
|
|
674
784
|
}
|
|
675
785
|
export class BatchClose {
|
|
676
786
|
static close(settings: { batchIds: Array<string>; serverUrl: string; apiKey: string; proxy?: undefined | ProxySettingsPlain; }): Promise<void>;
|
|
@@ -708,14 +818,19 @@ export enum CorsIframeHandle {
|
|
|
708
818
|
KEEP = 'KEEP',
|
|
709
819
|
SNAPSHOT = 'SNAPSHOT'
|
|
710
820
|
}
|
|
711
|
-
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";
|
|
821
|
+
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";
|
|
712
822
|
export enum DeviceName {
|
|
713
823
|
iPhone_4 = 'iPhone 4',
|
|
714
824
|
iPhone_5SE = 'iPhone 5/SE',
|
|
715
825
|
iPhone_5S_E = 'iPhone 5/SE',
|
|
826
|
+
iPhone_SE_3rd_Gen = 'iPhone SE 3rd Gen',
|
|
716
827
|
iPhone_6_7_8 = 'iPhone 6/7/8',
|
|
717
828
|
iPhone_6_7_8_Plus = 'iPhone 6/7/8 Plus',
|
|
718
829
|
iPhone_X = 'iPhone X',
|
|
830
|
+
iPhone_13_Mini = 'iPhone 13 Mini',
|
|
831
|
+
iPhone_14_Plus = 'iPhone 14 Plus',
|
|
832
|
+
iPhone_14_Pro = 'iPhone 14 Pro',
|
|
833
|
+
iPhone_15_Pro = 'iPhone 15 Pro',
|
|
719
834
|
BlackBerry_Z30 = 'BlackBerry Z30',
|
|
720
835
|
Nexus_4 = 'Nexus 4',
|
|
721
836
|
Nexus_5 = 'Nexus 5',
|
|
@@ -736,6 +851,10 @@ export enum DeviceName {
|
|
|
736
851
|
iPad_Mini = 'iPad Mini',
|
|
737
852
|
iPad = 'iPad',
|
|
738
853
|
iPad_Pro = 'iPad Pro',
|
|
854
|
+
iPad_8th_Gen = 'iPad 8th Gen',
|
|
855
|
+
iPad_10th_Gen = 'iPad 10th Gen',
|
|
856
|
+
iPad_Mini_4th_Gen = 'iPad Mini 4th Gen',
|
|
857
|
+
iPad_Mini_6th_Gen = 'iPad Mini 6th Gen',
|
|
739
858
|
Blackberry_PlayBook = 'Blackberry PlayBook',
|
|
740
859
|
Nexus_10 = 'Nexus 10',
|
|
741
860
|
Nexus_7 = 'Nexus 7',
|
|
@@ -773,6 +892,13 @@ export enum DeviceName {
|
|
|
773
892
|
Galaxy_Note_9 = 'Galaxy Note 9',
|
|
774
893
|
Galaxy_Note_8 = 'Galaxy Note 8',
|
|
775
894
|
Galaxy_Note_4 = 'Galaxy Note 4',
|
|
895
|
+
Galaxy_Tab_A_SM_T510 = 'Galaxy Tab A SM-T510',
|
|
896
|
+
Galaxy_Tab_A7_SM_T500 = 'Galaxy Tab A7 SM-T500',
|
|
897
|
+
Galaxy_Tab_S8 = 'Galaxy Tab S8',
|
|
898
|
+
Galaxy_Tab_A8 = 'Galaxy Tab A8',
|
|
899
|
+
Galaxy_S23 = 'Galaxy S23',
|
|
900
|
+
Galaxy_S23_Ultra = 'Galaxy S23 Ultra',
|
|
901
|
+
Galaxy_A52s = 'Galaxy A52s',
|
|
776
902
|
Pixel_3 = 'Pixel 3',
|
|
777
903
|
Pixel_3_XL = 'Pixel 3 XL',
|
|
778
904
|
Pixel_4 = 'Pixel 4',
|
|
@@ -784,24 +910,32 @@ export enum DeviceName {
|
|
|
784
910
|
Galaxy_Tab_S7 = 'Galaxy Tab S7',
|
|
785
911
|
Sony_Xperia_10_II = 'Sony Xperia 10 II',
|
|
786
912
|
Huawei_Mate_50_Pro = 'Huawei Mate 50 Pro',
|
|
787
|
-
Huawei_Matepad_11 = 'Huawei Matepad 11'
|
|
913
|
+
Huawei_Matepad_11 = 'Huawei Matepad 11',
|
|
914
|
+
Huawei_P30 = 'Huawei P30',
|
|
915
|
+
Xiaomi_Mi_A3 = 'Xiaomi Mi A3',
|
|
916
|
+
Huawei_P40 = 'Huawei P40',
|
|
917
|
+
Xiaomi_Redmi_Note_8 = 'Xiaomi Redmi Note 8',
|
|
918
|
+
Xiaomi_Mi_Poco_X3_Pro = 'Xiaomi Mi Poco X3 Pro',
|
|
919
|
+
Xiaomi_Poco_X3 = 'Xiaomi Poco X3'
|
|
788
920
|
}
|
|
789
921
|
export type FailureReportPlain = "IMMEDIATE" | "ON_CLOSE";
|
|
790
922
|
export enum FailureReport {
|
|
791
923
|
IMMEDIATE = 'IMMEDIATE',
|
|
792
924
|
ON_CLOSE = 'ON_CLOSE'
|
|
793
925
|
}
|
|
794
|
-
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
|
|
926
|
+
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";
|
|
795
927
|
export enum IosDeviceName {
|
|
796
928
|
iPad_7 = 'iPad (7th generation)',
|
|
797
929
|
iPad_9 = 'iPad (9th generation)',
|
|
930
|
+
iPad_10 = 'iPad (10th generation)',
|
|
931
|
+
iPad_mini_6 = 'iPad mini (6th generation)',
|
|
798
932
|
iPad_Air_4 = 'iPad Air (4th generation)',
|
|
799
933
|
iPad_Pro_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
800
934
|
iPad_Pro_12_9_inch_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
801
935
|
iPad_Pro_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
802
936
|
iPad_Pro_11_inch_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
803
|
-
|
|
804
|
-
|
|
937
|
+
iPhone_SE_2 = 'iPhone SE (2nd generation)',
|
|
938
|
+
iPhone_SE_3 = 'iPhone SE (3rd generation)',
|
|
805
939
|
iPhone_X = 'iPhone X',
|
|
806
940
|
iPhone_XR = 'iPhone XR',
|
|
807
941
|
iPhone_XS = 'iPhone Xs',
|
|
@@ -814,12 +948,21 @@ export enum IosDeviceName {
|
|
|
814
948
|
iPhone_12_Pro_Max = 'iPhone 12 Pro Max',
|
|
815
949
|
iPhone_12_Pro = 'iPhone 12 Pro',
|
|
816
950
|
iPhone_13 = 'iPhone 13',
|
|
951
|
+
iPhone_13_mini = 'iPhone 13 mini',
|
|
817
952
|
iPhone_13_Pro_Max = 'iPhone 13 Pro Max',
|
|
818
953
|
iPhone_13_Pro = 'iPhone 13 Pro',
|
|
819
954
|
iPhone_14 = 'iPhone 14',
|
|
820
955
|
iPhone_14_Pro_Max = 'iPhone 14 Pro Max',
|
|
956
|
+
iPhone_14_Pro = 'iPhone 14 Pro',
|
|
957
|
+
iPhone_14_Plus = 'iPhone 14 Plus',
|
|
821
958
|
iPhone_15 = 'iPhone 15',
|
|
822
|
-
iPhone_15_Pro_Max = 'iPhone 15 Pro Max'
|
|
959
|
+
iPhone_15_Pro_Max = 'iPhone 15 Pro Max',
|
|
960
|
+
iPhone_15_Pro = 'iPhone 15 Pro',
|
|
961
|
+
iPhone_15_Plus = 'iPhone 15 Plus',
|
|
962
|
+
iPhone_16 = 'iPhone 16',
|
|
963
|
+
iPhone_16_Pro_Max = 'iPhone 16 Pro Max',
|
|
964
|
+
iPhone_16_Pro = 'iPhone 16 Pro',
|
|
965
|
+
iPhone_16_Plus = 'iPhone 16 Plus'
|
|
823
966
|
}
|
|
824
967
|
export type IosVersionPlain = AndroidVersionPlain;
|
|
825
968
|
export enum IosVersion {
|
|
@@ -827,7 +970,7 @@ export enum IosVersion {
|
|
|
827
970
|
ONE_VERSION_BACK = 'latest-1',
|
|
828
971
|
LATEST_ONE_VERSION_BACK = 'latest-1'
|
|
829
972
|
}
|
|
830
|
-
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" | "
|
|
973
|
+
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";
|
|
831
974
|
export enum AndroidDeviceName {
|
|
832
975
|
Galaxy_S20 = 'Galaxy S20',
|
|
833
976
|
Galaxy_S20_Plus = 'Galaxy S20 Plus',
|
|
@@ -864,7 +1007,7 @@ export enum AndroidVersion {
|
|
|
864
1007
|
LATEST = 'latest',
|
|
865
1008
|
ONE_VERSION_BACK = 'latest-1'
|
|
866
1009
|
}
|
|
867
|
-
export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Exact";
|
|
1010
|
+
export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
868
1011
|
export enum MatchLevel {
|
|
869
1012
|
None = 'None',
|
|
870
1013
|
LegacyLayout = 'Layout1',
|
|
@@ -873,6 +1016,7 @@ export enum MatchLevel {
|
|
|
873
1016
|
Content = 'Content',
|
|
874
1017
|
IgnoreColors = 'IgnoreColors',
|
|
875
1018
|
Strict = 'Strict',
|
|
1019
|
+
Dynamic = 'Dynamic',
|
|
876
1020
|
Exact = 'Exact'
|
|
877
1021
|
}
|
|
878
1022
|
export type ScreenOrientationPlain = "portrait" | "landscape";
|
|
@@ -922,6 +1066,15 @@ export enum AccessibilityStatus {
|
|
|
922
1066
|
Passed = 'Passed',
|
|
923
1067
|
Failed = 'Failed'
|
|
924
1068
|
}
|
|
1069
|
+
export type DynamicTextTypePlain = "TextField" | "Number" | "Date" | "Link" | "Email" | "Currency";
|
|
1070
|
+
export enum DynamicTextType {
|
|
1071
|
+
TextField = 'TextField',
|
|
1072
|
+
Number = 'Number',
|
|
1073
|
+
Date = 'Date',
|
|
1074
|
+
Link = 'Link',
|
|
1075
|
+
Email = 'Email',
|
|
1076
|
+
Currency = 'Currency'
|
|
1077
|
+
}
|
|
925
1078
|
export class EyesError extends Error {
|
|
926
1079
|
}
|
|
927
1080
|
export class TestFailedError extends EyesError {
|
|
@@ -1010,44 +1163,6 @@ export type Image = {
|
|
|
1010
1163
|
locationInView?: undefined | LocationPlain;
|
|
1011
1164
|
fullViewSize?: undefined | RectangleSizePlain;
|
|
1012
1165
|
};
|
|
1013
|
-
export type CheckSettingsImagePlain = {
|
|
1014
|
-
name?: undefined | string;
|
|
1015
|
-
region?: undefined | RegionPlain;
|
|
1016
|
-
matchLevel?: undefined | MatchLevelPlain;
|
|
1017
|
-
useDom?: undefined | boolean;
|
|
1018
|
-
sendDom?: undefined | boolean;
|
|
1019
|
-
enablePatterns?: undefined | boolean;
|
|
1020
|
-
ignoreDisplacements?: undefined | boolean;
|
|
1021
|
-
ignoreMismatch?: undefined | boolean;
|
|
1022
|
-
ignoreCaret?: undefined | boolean;
|
|
1023
|
-
ignoreRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
1024
|
-
layoutRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
1025
|
-
strictRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
1026
|
-
contentRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
1027
|
-
floatingRegions?: undefined | Array<RegionPlain | {
|
|
1028
|
-
region: RegionPlain;
|
|
1029
|
-
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1030
|
-
regionId?: undefined | string;
|
|
1031
|
-
offset?: undefined | { top?: undefined | number; bottom?: undefined | number; left?: undefined | number; right?: undefined | number; };
|
|
1032
|
-
} | {
|
|
1033
|
-
region: RegionPlain;
|
|
1034
|
-
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1035
|
-
regionId?: undefined | string;
|
|
1036
|
-
maxUpOffset?: undefined | number;
|
|
1037
|
-
maxDownOffset?: undefined | number;
|
|
1038
|
-
maxLeftOffset?: undefined | number;
|
|
1039
|
-
maxRightOffset?: undefined | number;
|
|
1040
|
-
}>;
|
|
1041
|
-
accessibilityRegions?: undefined | Array<RegionPlain | {
|
|
1042
|
-
region: RegionPlain;
|
|
1043
|
-
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1044
|
-
regionId?: undefined | string;
|
|
1045
|
-
type?: undefined | AccessibilityRegionTypePlain;
|
|
1046
|
-
}>;
|
|
1047
|
-
pageId?: undefined | string;
|
|
1048
|
-
variationGroupId?: undefined | string;
|
|
1049
|
-
densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
|
|
1050
|
-
};
|
|
1051
1166
|
export class CheckSettingsImage {
|
|
1052
1167
|
constructor(settings?: undefined | CheckSettingsImagePlain, target?: undefined | Image, parent?: undefined | CheckSettingsImage);
|
|
1053
1168
|
constructor(settings?: undefined | CheckSettingsImage, target?: undefined | Image, parent?: undefined | CheckSettingsImage);
|
|
@@ -1138,11 +1253,27 @@ export class CheckSettingsImage {
|
|
|
1138
1253
|
type?: undefined | AccessibilityRegionTypePlain;
|
|
1139
1254
|
}>): CheckSettingsImage;
|
|
1140
1255
|
accessibilityRegions(type: AccessibilityRegionTypePlain, ...regions: Array<RegionPlain | LegacyRegionPlain>): CheckSettingsImage;
|
|
1256
|
+
dynamicRegion(region: {
|
|
1257
|
+
region: RegionPlain;
|
|
1258
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1259
|
+
regionId?: undefined | string;
|
|
1260
|
+
type?: undefined | string | Array<string>;
|
|
1261
|
+
}): CheckSettingsImage;
|
|
1262
|
+
dynamicRegion(region: RegionPlain): CheckSettingsImage;
|
|
1263
|
+
dynamicRegion(region: RegionPlain, type?: undefined | string): CheckSettingsImage;
|
|
1264
|
+
dynamicRegion(region: RegionPlain, type?: undefined | Array<string>): CheckSettingsImage;
|
|
1265
|
+
dynamicRegions(...regions: Array<RegionPlain | {
|
|
1266
|
+
region: RegionPlain;
|
|
1267
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1268
|
+
regionId?: undefined | string;
|
|
1269
|
+
type?: undefined | string | Array<string>;
|
|
1270
|
+
}>): CheckSettingsImage;
|
|
1141
1271
|
matchLevel(matchLevel: MatchLevelPlain): CheckSettingsImage;
|
|
1142
1272
|
layout(): CheckSettingsImage;
|
|
1143
1273
|
exact(): CheckSettingsImage;
|
|
1144
1274
|
strict(): CheckSettingsImage;
|
|
1145
1275
|
ignoreColors(): CheckSettingsImage;
|
|
1276
|
+
dynamic(): CheckSettingsImage;
|
|
1146
1277
|
content(): CheckSettingsImage;
|
|
1147
1278
|
enablePatterns(enablePatterns?: undefined | boolean): CheckSettingsImage;
|
|
1148
1279
|
ignoreDisplacements(ignoreDisplacements?: undefined | boolean): CheckSettingsImage;
|
|
@@ -1491,6 +1622,7 @@ export type ApiUrlsPlain = {
|
|
|
1491
1622
|
readonly checkpointImage: string;
|
|
1492
1623
|
readonly checkpointImageThumbnail: string;
|
|
1493
1624
|
readonly diffImage: string;
|
|
1625
|
+
readonly sideBySideImage: string;
|
|
1494
1626
|
};
|
|
1495
1627
|
export class ApiUrls implements Required<ApiUrlsPlain> {
|
|
1496
1628
|
get baselineImage(): string;
|
|
@@ -1508,6 +1640,8 @@ export class ApiUrls implements Required<ApiUrlsPlain> {
|
|
|
1508
1640
|
get diffImage(): string;
|
|
1509
1641
|
getDiffImage(): string;
|
|
1510
1642
|
setDiffImage(diffImage: string): void;
|
|
1643
|
+
get sideBySideImage(): string;
|
|
1644
|
+
getSideBySideImage(): string;
|
|
1511
1645
|
}
|
|
1512
1646
|
export type AppUrlsPlain = { readonly step: string; readonly stepEditor: string; };
|
|
1513
1647
|
export class AppUrls implements Required<AppUrlsPlain> {
|