@applitools/eyes-playwright 1.29.3 → 1.29.5

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,81 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.29.5](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.29.4...js/eyes-playwright@1.29.5) (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.29.4](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.29.3...js/eyes-playwright@1.29.4) (2024-10-21)
18
+
19
+
20
+ ### Dependencies
21
+
22
+ * @applitools/snippets bumped to 2.5.1
23
+ #### Bug Fixes
24
+
25
+ * isStaleElement error ([#2567](https://github.com/Applitools-Dev/sdk/issues/2567)) ([2675086](https://github.com/Applitools-Dev/sdk/commit/2675086aa28589082249e2958942ee29a5f2ef12))
26
+ * @applitools/screenshoter bumped to 3.9.0
27
+ #### Features
28
+
29
+ * capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
30
+
31
+
32
+
33
+ * @applitools/core bumped to 4.21.0
34
+ #### Features
35
+
36
+ * add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
37
+ * capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
38
+ * dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
39
+ * setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
40
+
41
+
42
+ #### Bug Fixes
43
+
44
+ * don't remove offline execution folder after running ([654e195](https://github.com/Applitools-Dev/sdk/commit/654e195dd50dc7dab93dd907ec26d788549c6e81))
45
+
46
+
47
+
48
+ * @applitools/driver bumped to 1.19.3
49
+
50
+ * @applitools/spec-driver-webdriver bumped to 1.1.15
51
+
52
+ * @applitools/spec-driver-selenium bumped to 1.5.86
53
+
54
+ * @applitools/spec-driver-playwright bumped to 1.4.2
55
+
56
+ * @applitools/spec-driver-puppeteer bumped to 1.4.15
57
+
58
+ * @applitools/nml-client bumped to 1.8.13
59
+
60
+ * @applitools/core-base bumped to 1.18.0
61
+ #### Features
62
+
63
+ * 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))
64
+ * dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
65
+ * setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
66
+ * @applitools/ec-client bumped to 1.9.9
67
+
68
+ * @applitools/eyes bumped to 1.24.0
69
+ #### Features
70
+
71
+ * 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))
72
+ * add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
73
+ * capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
74
+ * dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
75
+
76
+
77
+
78
+
3
79
  ## [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)
4
80
 
5
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-playwright",
3
- "version": "1.29.3",
3
+ "version": "1.29.5",
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.2",
40
- "@applitools/spec-driver-playwright": "1.4.1"
39
+ "@applitools/eyes": "1.25.1",
40
+ "@applitools/spec-driver-playwright": "1.4.3"
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 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"; }; })>;
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 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"; }; })>;
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,28 +732,28 @@ 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;
706
740
  addMultiDeviceTarget(deviceName: "iPhone 11 Pro"): Configuration;
707
- addMultiDeviceTarget(deviceName: "iPhone 8"): Configuration;
708
- addMultiDeviceTarget(deviceName: "iPhone 8 Plus"): Configuration;
741
+ addMultiDeviceTarget(deviceName: "iPhone SE (2nd generation)"): Configuration;
742
+ addMultiDeviceTarget(deviceName: "iPhone SE (3rd generation)"): Configuration;
709
743
  addMultiDeviceTarget(deviceName: "iPhone Xs"): Configuration;
710
744
  addMultiDeviceTarget(deviceName: "iPhone 12"): Configuration;
711
745
  addMultiDeviceTarget(deviceName: "iPhone 12 mini"): Configuration;
712
746
  addMultiDeviceTarget(deviceName: "iPhone 12 Pro Max"): Configuration;
713
747
  addMultiDeviceTarget(deviceName: "iPhone 12 Pro"): Configuration;
714
748
  addMultiDeviceTarget(deviceName: "iPhone 13"): Configuration;
749
+ addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
715
750
  addMultiDeviceTarget(deviceName: "iPhone 13 Pro Max"): Configuration;
716
751
  addMultiDeviceTarget(deviceName: "iPhone 13 Pro"): Configuration;
717
752
  addMultiDeviceTarget(deviceName: "iPhone 14"): Configuration;
718
753
  addMultiDeviceTarget(deviceName: "iPhone 14 Pro Max"): Configuration;
719
- addMultiDeviceTarget(deviceName: "iPhone SE (3rd generation)"): Configuration;
720
- addMultiDeviceTarget(deviceName: "iPhone SE (2nd generation)"): Configuration;
721
- addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
754
+ addMultiDeviceTarget(deviceName: "iPhone 8"): Configuration;
755
+ addMultiDeviceTarget(deviceName: "iPhone 8 Plus"): 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,24 +910,32 @@ 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 {
865
923
  IMMEDIATE = 'IMMEDIATE',
866
924
  ON_CLOSE = 'ON_CLOSE'
867
925
  }
868
- 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 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 15" | "iPhone 15 Pro Max";
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";
869
927
  export enum IosDeviceName {
870
928
  iPad_7 = 'iPad (7th generation)',
871
929
  iPad_9 = 'iPad (9th generation)',
930
+ iPad_10 = 'iPad (10th generation)',
931
+ iPad_mini_6 = 'iPad mini (6th generation)',
872
932
  iPad_Air_4 = 'iPad Air (4th generation)',
873
933
  iPad_Pro_3 = 'iPad Pro (12.9-inch) (3rd generation)',
874
934
  iPad_Pro_12_9_inch_3 = 'iPad Pro (12.9-inch) (3rd generation)',
875
935
  iPad_Pro_4 = 'iPad Pro (11-inch) (4th generation)',
876
936
  iPad_Pro_11_inch_4 = 'iPad Pro (11-inch) (4th generation)',
877
- iPhone_8 = 'iPhone 8',
878
- iPhone_8_Plus = 'iPhone 8 Plus',
937
+ iPhone_SE_2 = 'iPhone SE (2nd generation)',
938
+ iPhone_SE_3 = 'iPhone SE (3rd generation)',
879
939
  iPhone_X = 'iPhone X',
880
940
  iPhone_XR = 'iPhone XR',
881
941
  iPhone_XS = 'iPhone Xs',
@@ -888,12 +948,21 @@ export enum IosDeviceName {
888
948
  iPhone_12_Pro_Max = 'iPhone 12 Pro Max',
889
949
  iPhone_12_Pro = 'iPhone 12 Pro',
890
950
  iPhone_13 = 'iPhone 13',
951
+ iPhone_13_mini = 'iPhone 13 mini',
891
952
  iPhone_13_Pro_Max = 'iPhone 13 Pro Max',
892
953
  iPhone_13_Pro = 'iPhone 13 Pro',
893
954
  iPhone_14 = 'iPhone 14',
894
955
  iPhone_14_Pro_Max = 'iPhone 14 Pro Max',
956
+ iPhone_14_Pro = 'iPhone 14 Pro',
957
+ iPhone_14_Plus = 'iPhone 14 Plus',
895
958
  iPhone_15 = 'iPhone 15',
896
- 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'
897
966
  }
898
967
  export type IosVersionPlain = AndroidVersionPlain;
899
968
  export enum IosVersion {
@@ -901,7 +970,7 @@ export enum IosVersion {
901
970
  ONE_VERSION_BACK = 'latest-1',
902
971
  LATEST_ONE_VERSION_BACK = 'latest-1'
903
972
  }
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";
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";
905
974
  export enum AndroidDeviceName {
906
975
  Galaxy_S20 = 'Galaxy S20',
907
976
  Galaxy_S20_Plus = 'Galaxy S20 Plus',
@@ -938,7 +1007,7 @@ export enum AndroidVersion {
938
1007
  LATEST = 'latest',
939
1008
  ONE_VERSION_BACK = 'latest-1'
940
1009
  }
941
- export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Exact";
1010
+ export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
942
1011
  export enum MatchLevel {
943
1012
  None = 'None',
944
1013
  LegacyLayout = 'Layout1',
@@ -947,6 +1016,7 @@ export enum MatchLevel {
947
1016
  Content = 'Content',
948
1017
  IgnoreColors = 'IgnoreColors',
949
1018
  Strict = 'Strict',
1019
+ Dynamic = 'Dynamic',
950
1020
  Exact = 'Exact'
951
1021
  }
952
1022
  export type ScreenOrientationPlain = "portrait" | "landscape";
@@ -996,6 +1066,15 @@ export enum AccessibilityStatus {
996
1066
  Passed = 'Passed',
997
1067
  Failed = 'Failed'
998
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
+ }
999
1078
  export class EyesError extends Error {
1000
1079
  }
1001
1080
  export class TestFailedError extends EyesError {
@@ -1174,11 +1253,27 @@ export class CheckSettingsImage {
1174
1253
  type?: undefined | AccessibilityRegionTypePlain;
1175
1254
  }>): CheckSettingsImage;
1176
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;
1177
1271
  matchLevel(matchLevel: MatchLevelPlain): CheckSettingsImage;
1178
1272
  layout(): CheckSettingsImage;
1179
1273
  exact(): CheckSettingsImage;
1180
1274
  strict(): CheckSettingsImage;
1181
1275
  ignoreColors(): CheckSettingsImage;
1276
+ dynamic(): CheckSettingsImage;
1182
1277
  content(): CheckSettingsImage;
1183
1278
  enablePatterns(enablePatterns?: undefined | boolean): CheckSettingsImage;
1184
1279
  ignoreDisplacements(ignoreDisplacements?: undefined | boolean): CheckSettingsImage;
@@ -1527,6 +1622,7 @@ export type ApiUrlsPlain = {
1527
1622
  readonly checkpointImage: string;
1528
1623
  readonly checkpointImageThumbnail: string;
1529
1624
  readonly diffImage: string;
1625
+ readonly sideBySideImage: string;
1530
1626
  };
1531
1627
  export class ApiUrls implements Required<ApiUrlsPlain> {
1532
1628
  get baselineImage(): string;
@@ -1544,6 +1640,8 @@ export class ApiUrls implements Required<ApiUrlsPlain> {
1544
1640
  get diffImage(): string;
1545
1641
  getDiffImage(): string;
1546
1642
  setDiffImage(diffImage: string): void;
1643
+ get sideBySideImage(): string;
1644
+ getSideBySideImage(): string;
1547
1645
  }
1548
1646
  export type AppUrlsPlain = { readonly step: string; readonly stepEditor: string; };
1549
1647
  export class AppUrls implements Required<AppUrlsPlain> {