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