@applitools/eyes-puppeteer 1.24.0 → 1.25.3

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,198 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.25.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer@1.25.2...js/eyes-puppeteer@1.25.3) (2024-03-18)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/css-tree bumped to 1.1.2
9
+ #### Bug Fixes
10
+
11
+ * trigger js release again ([1695f3d](https://github.com/Applitools-Dev/sdk/commit/1695f3d9967c7ab7b5d8c8637e86faa935a9047f))
12
+ * @applitools/driver bumped to 1.16.5
13
+ #### Bug Fixes
14
+
15
+ * trigger js release again ([1695f3d](https://github.com/Applitools-Dev/sdk/commit/1695f3d9967c7ab7b5d8c8637e86faa935a9047f))
16
+ * @applitools/dom-snapshot bumped to 4.9.2
17
+
18
+ * @applitools/spec-driver-webdriver bumped to 1.1.3
19
+
20
+ * @applitools/spec-driver-selenium bumped to 1.5.72
21
+
22
+ * @applitools/spec-driver-puppeteer bumped to 1.4.3
23
+
24
+ * @applitools/screenshoter bumped to 3.8.27
25
+
26
+ * @applitools/nml-client bumped to 1.7.5
27
+
28
+ * @applitools/ufg-client bumped to 1.10.2
29
+
30
+ * @applitools/ec-client bumped to 1.7.30
31
+
32
+ * @applitools/core bumped to 4.10.2
33
+
34
+ * @applitools/eyes bumped to 1.16.2
35
+
36
+
37
+ ## [1.25.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer@1.25.1...js/eyes-puppeteer@1.25.2) (2024-03-18)
38
+
39
+
40
+ ### Dependencies
41
+
42
+ * @applitools/css-tree bumped to 1.1.1
43
+ #### Bug Fixes
44
+
45
+ * trigger js release ([dbc9bf8](https://github.com/Applitools-Dev/sdk/commit/dbc9bf8da3ab5d93e570881ba2c61efa47a1b342))
46
+ * @applitools/driver bumped to 1.16.4
47
+ #### Bug Fixes
48
+
49
+ * trigger js release ([dbc9bf8](https://github.com/Applitools-Dev/sdk/commit/dbc9bf8da3ab5d93e570881ba2c61efa47a1b342))
50
+ * @applitools/dom-snapshot bumped to 4.9.1
51
+
52
+ * @applitools/spec-driver-webdriver bumped to 1.1.2
53
+
54
+ * @applitools/spec-driver-selenium bumped to 1.5.71
55
+
56
+ * @applitools/spec-driver-puppeteer bumped to 1.4.2
57
+
58
+ * @applitools/screenshoter bumped to 3.8.26
59
+
60
+ * @applitools/nml-client bumped to 1.7.4
61
+
62
+ * @applitools/ufg-client bumped to 1.10.1
63
+
64
+ * @applitools/ec-client bumped to 1.7.29
65
+
66
+ * @applitools/core bumped to 4.10.1
67
+
68
+ * @applitools/eyes bumped to 1.16.1
69
+
70
+
71
+ ## [1.25.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer@1.25.0...js/eyes-puppeteer@1.25.1) (2024-03-17)
72
+
73
+
74
+ ### Dependencies
75
+
76
+ * @applitools/css-tree bumped to 1.1.0
77
+ #### Features
78
+
79
+ * support [@container](https://github.com/container) and [@layer](https://github.com/layer) cssom rules ([#2209](https://github.com/Applitools-Dev/sdk/issues/2209)) ([7da07c4](https://github.com/Applitools-Dev/sdk/commit/7da07c4f5b7f338fb5944ce244af8f2de928cab6))
80
+ * @applitools/dom-snapshot bumped to 4.9.0
81
+ #### Features
82
+
83
+ * support [@container](https://github.com/container) and [@layer](https://github.com/layer) cssom rules ([#2209](https://github.com/Applitools-Dev/sdk/issues/2209)) ([7da07c4](https://github.com/Applitools-Dev/sdk/commit/7da07c4f5b7f338fb5944ce244af8f2de928cab6))
84
+
85
+
86
+
87
+ * @applitools/spec-driver-webdriver bumped to 1.1.1
88
+
89
+ * @applitools/spec-driver-selenium bumped to 1.5.70
90
+
91
+ * @applitools/spec-driver-puppeteer bumped to 1.4.1
92
+
93
+ * @applitools/driver bumped to 1.16.3
94
+ #### Bug Fixes
95
+
96
+ * skip execution of getCurrentWorld and getWorlds when env var is set ([#2234](https://github.com/Applitools-Dev/sdk/issues/2234)) ([3a88602](https://github.com/Applitools-Dev/sdk/commit/3a886028b0437b73dae0474408d9bb74ba940dec))
97
+ * trigger build ([acb9c88](https://github.com/Applitools-Dev/sdk/commit/acb9c88161cf55e8b1e409425b5571d69a2e1d5c))
98
+ * @applitools/screenshoter bumped to 3.8.25
99
+
100
+ * @applitools/nml-client bumped to 1.7.3
101
+
102
+ * @applitools/ufg-client bumped to 1.10.0
103
+ #### Features
104
+
105
+ * support [@container](https://github.com/container) and [@layer](https://github.com/layer) cssom rules ([#2209](https://github.com/Applitools-Dev/sdk/issues/2209)) ([7da07c4](https://github.com/Applitools-Dev/sdk/commit/7da07c4f5b7f338fb5944ce244af8f2de928cab6))
106
+ * throttle fetching resources by default ([#2216](https://github.com/Applitools-Dev/sdk/issues/2216)) ([a2da800](https://github.com/Applitools-Dev/sdk/commit/a2da80076eb30241a168500903a9d80344900213))
107
+
108
+
109
+
110
+ * @applitools/core bumped to 4.10.0
111
+ #### Features
112
+
113
+ * support webview in nml ([#2236](https://github.com/Applitools-Dev/sdk/issues/2236)) ([b4440d8](https://github.com/Applitools-Dev/sdk/commit/b4440d86a863d1af8089f8606ac6819636fa46f4))
114
+
115
+
116
+
117
+ * @applitools/ec-client bumped to 1.7.28
118
+
119
+ * @applitools/eyes bumped to 1.16.0
120
+ #### Features
121
+
122
+ * ios multi device target ([#2160](https://github.com/Applitools-Dev/sdk/issues/2160)) ([3874fb8](https://github.com/Applitools-Dev/sdk/commit/3874fb8ad77039abbb5ab78c00ffb45829b2db28))
123
+
124
+
125
+
126
+
127
+ ## [1.25.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-puppeteer-v1.24.1...js/eyes-puppeteer@1.25.0) (2024-02-29)
128
+
129
+
130
+ ### Features
131
+
132
+ * added notification about outdated sdk version ([#2012](https://github.com/applitools/eyes.sdk.javascript1/issues/2012)) ([0f0a646](https://github.com/applitools/eyes.sdk.javascript1/commit/0f0a6462a56e7c97f9a22173c3b63af91e220adb))
133
+ * added support for puppeteer >= 22 ([#2185](https://github.com/applitools/eyes.sdk.javascript1/issues/2185)) ([59d23a9](https://github.com/applitools/eyes.sdk.javascript1/commit/59d23a9689d77c7db06df53b67fa293a3b3f166e))
134
+
135
+
136
+ ### Dependencies
137
+
138
+ * @applitools/req bumped to 1.6.5
139
+ #### Bug Fixes
140
+
141
+ * fixed url concatenation logic ([#2197](https://github.com/applitools/eyes.sdk.javascript1/issues/2197)) ([c3b2e0a](https://github.com/applitools/eyes.sdk.javascript1/commit/c3b2e0ad47f002978544eaac759a80f18f7c5ee3))
142
+ * @applitools/dom-shared bumped to 1.0.13
143
+ #### Bug Fixes
144
+
145
+ * dont execute script synchronously in polling ([#2228](https://github.com/applitools/eyes.sdk.javascript1/issues/2228)) ([04f525b](https://github.com/applitools/eyes.sdk.javascript1/commit/04f525bcac19bc2fb7240928add28f71efcef0ea))
146
+ * @applitools/tunnel-client bumped to 1.4.1
147
+ #### Bug Fixes
148
+
149
+ * upgrade execution-grid-tunnel to avoid port collision ([751e4e2](https://github.com/applitools/eyes.sdk.javascript1/commit/751e4e2441eb85604bbece0a9dbe18fa16b23847))
150
+
151
+
152
+
153
+ * @applitools/dom-capture bumped to 11.2.6
154
+
155
+ * @applitools/dom-snapshot bumped to 4.8.1
156
+
157
+ * @applitools/nml-client bumped to 1.7.2
158
+
159
+ * @applitools/ufg-client bumped to 1.9.10
160
+
161
+ * @applitools/ec-client bumped to 1.7.27
162
+
163
+ * @applitools/core-base bumped to 1.9.1
164
+ #### Bug Fixes
165
+
166
+ * fixed url concatenation logic ([#2197](https://github.com/applitools/eyes.sdk.javascript1/issues/2197)) ([c3b2e0a](https://github.com/applitools/eyes.sdk.javascript1/commit/c3b2e0ad47f002978544eaac759a80f18f7c5ee3))
167
+
168
+
169
+
170
+ * @applitools/core bumped to 4.9.1
171
+
172
+ * @applitools/eyes bumped to 1.15.0
173
+ #### Features
174
+
175
+ * add Eyes.getResults method ([#2046](https://github.com/applitools/eyes.sdk.javascript1/issues/2046)) ([#2069](https://github.com/applitools/eyes.sdk.javascript1/issues/2069)) ([4d263e1](https://github.com/applitools/eyes.sdk.javascript1/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91))
176
+ * added `enableEyesLogs` configuration to the eyes service ([639ca8a](https://github.com/applitools/eyes.sdk.javascript1/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
177
+ * added `useExecutionCloud` configuration to the eyes service ([#2033](https://github.com/applitools/eyes.sdk.javascript1/issues/2033)) ([639ca8a](https://github.com/applitools/eyes.sdk.javascript1/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
178
+ * generate more enums ([#2179](https://github.com/applitools/eyes.sdk.javascript1/issues/2179)) ([5f4f916](https://github.com/applitools/eyes.sdk.javascript1/commit/5f4f91621b791a02464191123f69b12f590b9efe))
179
+
180
+
181
+ #### Bug Fixes
182
+
183
+ * error to unknown type in exception ([#2035](https://github.com/applitools/eyes.sdk.javascript1/issues/2035)) ([16d78c3](https://github.com/applitools/eyes.sdk.javascript1/commit/16d78c3cce90a5cb50cc2aa4e9ab6a58b7b93f89))
184
+ * fixed `serverUrl` configuration propagation ([247b7d8](https://github.com/applitools/eyes.sdk.javascript1/commit/247b7d88853dd1a9068d2d963582ad795752ace4))
185
+ * fixed default value in `useSystemScreenshot` method of check settings ([42a773c](https://github.com/applitools/eyes.sdk.javascript1/commit/42a773cc57e8e5de528a049b376159615892003b))
186
+ * fixed issue when w3c properties were added to legacy capabilities object in `Eyes.setMobileCapabilities` method ([94d785f](https://github.com/applitools/eyes.sdk.javascript1/commit/94d785f0428df101c207d6f09a55c46f2bdbf19e))
187
+
188
+
189
+ #### Code Refactoring
190
+
191
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
192
+
193
+
194
+
195
+
3
196
  ## [1.24.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-puppeteer-v1.23.8...js/eyes-puppeteer@1.24.0) (2024-02-13)
4
197
 
5
198
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-puppeteer",
3
- "version": "1.24.0",
3
+ "version": "1.25.3",
4
4
  "description": "Applitools Eyes SDK for Puppeteer",
5
5
  "keywords": [
6
6
  "eyes-puppeteer",
@@ -36,8 +36,8 @@
36
36
  "up:framework": "echo \"$(jq '.devDependencies.puppeteer = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
37
37
  },
38
38
  "dependencies": {
39
- "@applitools/eyes": "1.14.0",
40
- "@applitools/spec-driver-puppeteer": "1.4.0"
39
+ "@applitools/eyes": "1.16.2",
40
+ "@applitools/spec-driver-puppeteer": "1.4.3"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@applitools/api-extractor": "^1.2.22",
package/types/index.d.ts CHANGED
@@ -390,7 +390,7 @@ export type ConfigurationPlain = {
390
390
  rotation?: undefined | ImageRotationPlain;
391
391
  scaleRatio?: undefined | number;
392
392
  concurrentSessions?: undefined | number;
393
- browsersInfo?: undefined | Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo>;
393
+ browsersInfo?: undefined | Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone Xs Max" | "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 Plus" | "iPhone 14 Pro" | "iPhone 14 Pro Max" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)"; }>;
394
394
  visualGridOptions?: undefined | Record<string, any>;
395
395
  layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
396
396
  disableBrowserFetching?: undefined | boolean;
@@ -609,9 +609,9 @@ export class Configuration implements Required<ConfigurationPlain> {
609
609
  set concurrentSessions(concurrentSessions: number);
610
610
  getConcurrentSessions(): number;
611
611
  setConcurrentSessions(concurrentSessions: number): Configuration;
612
- get browsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo>;
613
- set browsersInfo(browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo>);
614
- getBrowsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; }>;
612
+ get browsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone Xs Max" | "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 Plus" | "iPhone 14 Pro" | "iPhone 14 Pro Max" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)"; }>;
613
+ set browsersInfo(browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone Xs Max" | "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 Plus" | "iPhone 14 Pro" | "iPhone 14 Pro Max" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)"; }>);
614
+ getBrowsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone Xs Max" | "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 Plus" | "iPhone 14 Pro" | "iPhone 14 Pro Max" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)"; }>;
615
615
  setBrowsersInfo(browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; }>): Configuration;
616
616
  addBrowsers(...browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; }>): Configuration;
617
617
  addBrowser(browserInfo: DesktopBrowserInfo): Configuration;
@@ -623,6 +623,29 @@ export class Configuration implements Required<ConfigurationPlain> {
623
623
  addDeviceEmulation(deviceName: DeviceNamePlain, screenOrientation?: undefined | ScreenOrientationPlain): Configuration;
624
624
  addMobileDevice(deviceName: AndroidDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
625
625
  addMobileDevice(deviceName: IosDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
626
+ addMultiDeviceTarget(deviceName: "iPhone X"): Configuration;
627
+ addMultiDeviceTarget(deviceName: "iPhone XR"): Configuration;
628
+ addMultiDeviceTarget(deviceName: "iPhone 11"): Configuration;
629
+ addMultiDeviceTarget(deviceName: "iPhone 11 Pro Max"): Configuration;
630
+ addMultiDeviceTarget(deviceName: "iPhone 11 Pro"): Configuration;
631
+ addMultiDeviceTarget(deviceName: "iPhone 8"): Configuration;
632
+ addMultiDeviceTarget(deviceName: "iPhone 8 Plus"): Configuration;
633
+ addMultiDeviceTarget(deviceName: "iPhone Xs"): Configuration;
634
+ addMultiDeviceTarget(deviceName: "iPhone Xs Max"): Configuration;
635
+ addMultiDeviceTarget(deviceName: "iPhone 12"): Configuration;
636
+ addMultiDeviceTarget(deviceName: "iPhone 12 mini"): Configuration;
637
+ addMultiDeviceTarget(deviceName: "iPhone 12 Pro Max"): Configuration;
638
+ addMultiDeviceTarget(deviceName: "iPhone 12 Pro"): Configuration;
639
+ addMultiDeviceTarget(deviceName: "iPhone 13"): Configuration;
640
+ addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
641
+ addMultiDeviceTarget(deviceName: "iPhone 13 Pro Max"): Configuration;
642
+ addMultiDeviceTarget(deviceName: "iPhone 13 Pro"): Configuration;
643
+ addMultiDeviceTarget(deviceName: "iPhone 14"): Configuration;
644
+ addMultiDeviceTarget(deviceName: "iPhone 14 Plus"): Configuration;
645
+ addMultiDeviceTarget(deviceName: "iPhone 14 Pro"): Configuration;
646
+ addMultiDeviceTarget(deviceName: "iPhone 14 Pro Max"): Configuration;
647
+ addMultiDeviceTarget(deviceName: "iPhone SE (2nd generation)"): Configuration;
648
+ addMultiDeviceTarget(deviceName: "iPhone SE (3rd generation)"): Configuration;
626
649
  get visualGridOptions(): { [key: string]: any; };
627
650
  set visualGridOptions(visualGridOptions: { [key: string]: any; });
628
651
  getVisualGridOptions(): { [key: string]: any; };