@applitools/eyes-playwright 1.29.2 → 1.29.4

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 CHANGED
@@ -1,5 +1,108 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.29.4](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.29.3...js/eyes-playwright@1.29.4) (2024-10-21)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/snippets bumped to 2.5.1
9
+ #### Bug Fixes
10
+
11
+ * isStaleElement error ([#2567](https://github.com/Applitools-Dev/sdk/issues/2567)) ([2675086](https://github.com/Applitools-Dev/sdk/commit/2675086aa28589082249e2958942ee29a5f2ef12))
12
+ * @applitools/screenshoter bumped to 3.9.0
13
+ #### Features
14
+
15
+ * capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
16
+
17
+
18
+
19
+ * @applitools/core bumped to 4.21.0
20
+ #### Features
21
+
22
+ * add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
23
+ * capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
24
+ * dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
25
+ * setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
26
+
27
+
28
+ #### Bug Fixes
29
+
30
+ * don't remove offline execution folder after running ([654e195](https://github.com/Applitools-Dev/sdk/commit/654e195dd50dc7dab93dd907ec26d788549c6e81))
31
+
32
+
33
+
34
+ * @applitools/driver bumped to 1.19.3
35
+
36
+ * @applitools/spec-driver-webdriver bumped to 1.1.15
37
+
38
+ * @applitools/spec-driver-selenium bumped to 1.5.86
39
+
40
+ * @applitools/spec-driver-playwright bumped to 1.4.2
41
+
42
+ * @applitools/spec-driver-puppeteer bumped to 1.4.15
43
+
44
+ * @applitools/nml-client bumped to 1.8.13
45
+
46
+ * @applitools/core-base bumped to 1.18.0
47
+ #### Features
48
+
49
+ * 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))
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
+ * @applitools/ec-client bumped to 1.9.9
53
+
54
+ * @applitools/eyes bumped to 1.24.0
55
+ #### Features
56
+
57
+ * 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))
58
+ * add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
59
+ * capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
60
+ * dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
61
+
62
+
63
+
64
+
65
+ ## [1.29.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.29.2...js/eyes-playwright@1.29.3) (2024-10-03)
66
+
67
+
68
+ ### Dependencies
69
+
70
+ * @applitools/driver bumped to 1.19.2
71
+ #### Bug Fixes
72
+
73
+ * cache key for offline execution ([#2552](https://github.com/Applitools-Dev/sdk/issues/2552)) ([d0d1138](https://github.com/Applitools-Dev/sdk/commit/d0d11386be0f82c9e59e753bd0dc97aa3b05d93e))
74
+ * @applitools/spec-driver-selenium bumped to 1.5.85
75
+
76
+ * @applitools/spec-driver-playwright bumped to 1.4.1
77
+
78
+ * @applitools/spec-driver-puppeteer bumped to 1.4.14
79
+
80
+ * @applitools/screenshoter bumped to 3.8.38
81
+
82
+ * @applitools/nml-client bumped to 1.8.12
83
+
84
+ * @applitools/ufg-client bumped to 1.13.1
85
+ #### Bug Fixes
86
+
87
+ * cache key for offline execution ([#2552](https://github.com/Applitools-Dev/sdk/issues/2552)) ([d0d1138](https://github.com/Applitools-Dev/sdk/commit/d0d11386be0f82c9e59e753bd0dc97aa3b05d93e))
88
+ * @applitools/core-base bumped to 1.17.2
89
+ #### Bug Fixes
90
+
91
+ * cache key for offline execution ([#2552](https://github.com/Applitools-Dev/sdk/issues/2552)) ([d0d1138](https://github.com/Applitools-Dev/sdk/commit/d0d11386be0f82c9e59e753bd0dc97aa3b05d93e))
92
+ * @applitools/core bumped to 4.20.2
93
+ #### Bug Fixes
94
+
95
+ * cache key for offline execution ([#2552](https://github.com/Applitools-Dev/sdk/issues/2552)) ([d0d1138](https://github.com/Applitools-Dev/sdk/commit/d0d11386be0f82c9e59e753bd0dc97aa3b05d93e))
96
+
97
+
98
+
99
+ * @applitools/spec-driver-webdriver bumped to 1.1.14
100
+
101
+ * @applitools/ec-client bumped to 1.9.8
102
+
103
+ * @applitools/eyes bumped to 1.23.2
104
+
105
+
3
106
  ## [1.29.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.29.1...js/eyes-playwright@1.29.2) (2024-10-01)
4
107
 
5
108
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-playwright",
3
- "version": "1.29.2",
3
+ "version": "1.29.4",
4
4
  "description": "Applitools Eyes SDK for Playwright",
5
5
  "keywords": [
6
6
  "eyes-playwright",
@@ -36,8 +36,8 @@
36
36
  "up:framework": "echo \"$(jq '.devDependencies.playwright = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
37
37
  },
38
38
  "dependencies": {
39
- "@applitools/eyes": "1.23.1",
40
- "@applitools/spec-driver-playwright": "1.4.0"
39
+ "@applitools/eyes": "1.24.0",
40
+ "@applitools/spec-driver-playwright": "1.4.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@applitools/api-extractor": "^1.2.22",
package/types/index.d.ts CHANGED
@@ -206,6 +206,12 @@ export type CheckSettingsImagePlain = {
206
206
  regionId?: undefined | string;
207
207
  type?: undefined | AccessibilityRegionTypePlain;
208
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
+ }>;
209
215
  pageId?: undefined | string;
210
216
  variationGroupId?: undefined | string;
211
217
  densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
@@ -244,6 +250,12 @@ export type CheckSettingsAutomationPlain = {
244
250
  regionId?: undefined | string;
245
251
  type?: undefined | AccessibilityRegionTypePlain;
246
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
+ }>;
247
259
  pageId?: undefined | string;
248
260
  variationGroupId?: undefined | string;
249
261
  densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
@@ -371,11 +383,30 @@ export class CheckSettingsAutomation {
371
383
  type?: undefined | AccessibilityRegionTypePlain;
372
384
  }>): CheckSettingsAutomation;
373
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;
374
404
  matchLevel(matchLevel: MatchLevelPlain): CheckSettingsAutomation;
375
405
  layout(): CheckSettingsAutomation;
376
406
  exact(): CheckSettingsAutomation;
377
407
  strict(): CheckSettingsAutomation;
378
408
  ignoreColors(): CheckSettingsAutomation;
409
+ dynamic(): CheckSettingsAutomation;
379
410
  content(): CheckSettingsAutomation;
380
411
  enablePatterns(enablePatterns?: undefined | boolean): CheckSettingsAutomation;
381
412
  ignoreDisplacements(ignoreDisplacements?: undefined | boolean): CheckSettingsAutomation;
@@ -465,12 +496,13 @@ export type ConfigurationPlain = {
465
496
  rotation?: undefined | ImageRotationPlain;
466
497
  scaleRatio?: undefined | number;
467
498
  concurrentSessions?: undefined | number;
468
- browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max" | "iPhone 14 Pro" | "iPhone 14 Plus"; }; })>;
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 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max"; }; })>;
469
500
  visualGridOptions?: undefined | Record<string, any>;
470
501
  layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
471
502
  disableBrowserFetching?: undefined | boolean;
472
503
  waitBeforeCapture?: undefined | number;
473
504
  disableNMLUrlCache?: undefined | boolean;
505
+ captureStatusBar?: undefined | boolean;
474
506
  };
475
507
  export class Configuration implements Required<ConfigurationPlain> {
476
508
  constructor(config?: undefined | ConfigurationPlain);
@@ -689,9 +721,9 @@ export class Configuration implements Required<ConfigurationPlain> {
689
721
  set concurrentSessions(concurrentSessions: number);
690
722
  getConcurrentSessions(): number;
691
723
  setConcurrentSessions(concurrentSessions: number): Configuration;
692
- get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max" | "iPhone 14 Pro" | "iPhone 14 Plus"; }; })>;
693
- set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max" | "iPhone 14 Pro" | "iPhone 14 Plus"; }; })>);
694
- getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max" | "iPhone 14 Pro" | "iPhone 14 Plus"; }; })>;
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 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "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 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "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 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max"; }; })>;
695
727
  setBrowsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
696
728
  addBrowsers(...browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
697
729
  addBrowser(browserInfo: (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })): Configuration;
@@ -700,6 +732,8 @@ export class Configuration implements Required<ConfigurationPlain> {
700
732
  addMobileDevice(deviceName: AndroidDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
701
733
  addMobileDevice(deviceName: IosDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
702
734
  addMultiDeviceTarget(deviceName: "iPhone X"): Configuration;
735
+ addMultiDeviceTarget(deviceName: "iPhone 14 Plus"): Configuration;
736
+ addMultiDeviceTarget(deviceName: "iPhone 14 Pro"): Configuration;
703
737
  addMultiDeviceTarget(deviceName: "iPhone XR"): Configuration;
704
738
  addMultiDeviceTarget(deviceName: "iPhone 11"): Configuration;
705
739
  addMultiDeviceTarget(deviceName: "iPhone 11 Pro Max"): Configuration;
@@ -720,8 +754,6 @@ export class Configuration implements Required<ConfigurationPlain> {
720
754
  addMultiDeviceTarget(deviceName: "iPhone SE (2nd generation)"): Configuration;
721
755
  addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
722
756
  addMultiDeviceTarget(deviceName: "iPhone Xs Max"): Configuration;
723
- addMultiDeviceTarget(deviceName: "iPhone 14 Pro"): Configuration;
724
- addMultiDeviceTarget(deviceName: "iPhone 14 Plus"): Configuration;
725
757
  get visualGridOptions(): { [key: string]: any; };
726
758
  set visualGridOptions(visualGridOptions: { [key: string]: any; });
727
759
  getVisualGridOptions(): { [key: string]: any; };
@@ -745,6 +777,10 @@ export class Configuration implements Required<ConfigurationPlain> {
745
777
  set disableNMLUrlCache(disableNMLUrlCache: boolean);
746
778
  getDisableNMLUrlCache(): boolean;
747
779
  setDisableNMLUrlCache(disableNMLUrlCache: boolean): Configuration;
780
+ get captureStatusBar(): boolean;
781
+ set captureStatusBar(captureStatusBar: boolean);
782
+ getCaptureStatusBar(): boolean;
783
+ setCaptureStatusBar(captureStatusBar: boolean): Configuration;
748
784
  }
749
785
  export class BatchClose {
750
786
  static close(settings: { batchIds: Array<string>; serverUrl: string; apiKey: string; proxy?: undefined | ProxySettingsPlain; }): Promise<void>;
@@ -782,14 +818,19 @@ export enum CorsIframeHandle {
782
818
  KEEP = 'KEEP',
783
819
  SNAPSHOT = 'SNAPSHOT'
784
820
  }
785
- 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";
786
822
  export enum DeviceName {
787
823
  iPhone_4 = 'iPhone 4',
788
824
  iPhone_5SE = 'iPhone 5/SE',
789
825
  iPhone_5S_E = 'iPhone 5/SE',
826
+ iPhone_SE_3rd_Gen = 'iPhone SE 3rd Gen',
790
827
  iPhone_6_7_8 = 'iPhone 6/7/8',
791
828
  iPhone_6_7_8_Plus = 'iPhone 6/7/8 Plus',
792
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',
793
834
  BlackBerry_Z30 = 'BlackBerry Z30',
794
835
  Nexus_4 = 'Nexus 4',
795
836
  Nexus_5 = 'Nexus 5',
@@ -810,6 +851,10 @@ export enum DeviceName {
810
851
  iPad_Mini = 'iPad Mini',
811
852
  iPad = 'iPad',
812
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',
813
858
  Blackberry_PlayBook = 'Blackberry PlayBook',
814
859
  Nexus_10 = 'Nexus 10',
815
860
  Nexus_7 = 'Nexus 7',
@@ -847,6 +892,13 @@ export enum DeviceName {
847
892
  Galaxy_Note_9 = 'Galaxy Note 9',
848
893
  Galaxy_Note_8 = 'Galaxy Note 8',
849
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',
850
902
  Pixel_3 = 'Pixel 3',
851
903
  Pixel_3_XL = 'Pixel 3 XL',
852
904
  Pixel_4 = 'Pixel 4',
@@ -858,7 +910,13 @@ export enum DeviceName {
858
910
  Galaxy_Tab_S7 = 'Galaxy Tab S7',
859
911
  Sony_Xperia_10_II = 'Sony Xperia 10 II',
860
912
  Huawei_Mate_50_Pro = 'Huawei Mate 50 Pro',
861
- 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'
862
920
  }
863
921
  export type FailureReportPlain = "IMMEDIATE" | "ON_CLOSE";
864
922
  export enum FailureReport {
@@ -901,7 +959,7 @@ export enum IosVersion {
901
959
  ONE_VERSION_BACK = 'latest-1',
902
960
  LATEST_ONE_VERSION_BACK = 'latest-1'
903
961
  }
904
- 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" | "Galaxy Tab S8" | "Sony Xperia 1 II" | "Sony Xperia Ace II" | "Huawei P30 Lite";
962
+ 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";
905
963
  export enum AndroidDeviceName {
906
964
  Galaxy_S20 = 'Galaxy S20',
907
965
  Galaxy_S20_Plus = 'Galaxy S20 Plus',
@@ -938,7 +996,7 @@ export enum AndroidVersion {
938
996
  LATEST = 'latest',
939
997
  ONE_VERSION_BACK = 'latest-1'
940
998
  }
941
- export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Exact";
999
+ export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
942
1000
  export enum MatchLevel {
943
1001
  None = 'None',
944
1002
  LegacyLayout = 'Layout1',
@@ -947,6 +1005,7 @@ export enum MatchLevel {
947
1005
  Content = 'Content',
948
1006
  IgnoreColors = 'IgnoreColors',
949
1007
  Strict = 'Strict',
1008
+ Dynamic = 'Dynamic',
950
1009
  Exact = 'Exact'
951
1010
  }
952
1011
  export type ScreenOrientationPlain = "portrait" | "landscape";
@@ -996,6 +1055,15 @@ export enum AccessibilityStatus {
996
1055
  Passed = 'Passed',
997
1056
  Failed = 'Failed'
998
1057
  }
1058
+ export type DynamicTextTypePlain = "TextField" | "Number" | "Date" | "Link" | "Email" | "Currency";
1059
+ export enum DynamicTextType {
1060
+ TextField = 'TextField',
1061
+ Number = 'Number',
1062
+ Date = 'Date',
1063
+ Link = 'Link',
1064
+ Email = 'Email',
1065
+ Currency = 'Currency'
1066
+ }
999
1067
  export class EyesError extends Error {
1000
1068
  }
1001
1069
  export class TestFailedError extends EyesError {
@@ -1174,11 +1242,27 @@ export class CheckSettingsImage {
1174
1242
  type?: undefined | AccessibilityRegionTypePlain;
1175
1243
  }>): CheckSettingsImage;
1176
1244
  accessibilityRegions(type: AccessibilityRegionTypePlain, ...regions: Array<RegionPlain | LegacyRegionPlain>): CheckSettingsImage;
1245
+ dynamicRegion(region: {
1246
+ region: RegionPlain;
1247
+ padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
1248
+ regionId?: undefined | string;
1249
+ type?: undefined | string | Array<string>;
1250
+ }): CheckSettingsImage;
1251
+ dynamicRegion(region: RegionPlain): CheckSettingsImage;
1252
+ dynamicRegion(region: RegionPlain, type?: undefined | string): CheckSettingsImage;
1253
+ dynamicRegion(region: RegionPlain, type?: undefined | Array<string>): CheckSettingsImage;
1254
+ dynamicRegions(...regions: Array<RegionPlain | {
1255
+ region: RegionPlain;
1256
+ padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
1257
+ regionId?: undefined | string;
1258
+ type?: undefined | string | Array<string>;
1259
+ }>): CheckSettingsImage;
1177
1260
  matchLevel(matchLevel: MatchLevelPlain): CheckSettingsImage;
1178
1261
  layout(): CheckSettingsImage;
1179
1262
  exact(): CheckSettingsImage;
1180
1263
  strict(): CheckSettingsImage;
1181
1264
  ignoreColors(): CheckSettingsImage;
1265
+ dynamic(): CheckSettingsImage;
1182
1266
  content(): CheckSettingsImage;
1183
1267
  enablePatterns(enablePatterns?: undefined | boolean): CheckSettingsImage;
1184
1268
  ignoreDisplacements(ignoreDisplacements?: undefined | boolean): CheckSettingsImage;
@@ -1527,6 +1611,7 @@ export type ApiUrlsPlain = {
1527
1611
  readonly checkpointImage: string;
1528
1612
  readonly checkpointImageThumbnail: string;
1529
1613
  readonly diffImage: string;
1614
+ readonly sideBySideImage: string;
1530
1615
  };
1531
1616
  export class ApiUrls implements Required<ApiUrlsPlain> {
1532
1617
  get baselineImage(): string;
@@ -1544,6 +1629,8 @@ export class ApiUrls implements Required<ApiUrlsPlain> {
1544
1629
  get diffImage(): string;
1545
1630
  getDiffImage(): string;
1546
1631
  setDiffImage(diffImage: string): void;
1632
+ get sideBySideImage(): string;
1633
+ getSideBySideImage(): string;
1547
1634
  }
1548
1635
  export type AppUrlsPlain = { readonly step: string; readonly stepEditor: string; };
1549
1636
  export class AppUrls implements Required<AppUrlsPlain> {