@applitools/eyes-puppeteer 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,196 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.29.4](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer@1.29.3...js/eyes-puppeteer@1.29.4) (2025-06-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * relative links in readme | AD-9703 ([#2960](https://github.com/Applitools-Dev/sdk/issues/2960)) ([672207b](https://github.com/Applitools-Dev/sdk/commit/672207b55e30f1581defeda4f2f743eaf5b1849d))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/dom-snapshot bumped to 4.11.22
14
+ #### Bug Fixes
15
+
16
+ * css media query group conditions | FLD-3151 ([#3023](https://github.com/Applitools-Dev/sdk/issues/3023)) ([56ec107](https://github.com/Applitools-Dev/sdk/commit/56ec107bcda6a5a330d19c278267d73de5d86d8b))
17
+
18
+
19
+
20
+ * @applitools/nml-client bumped to 1.9.5
21
+ #### Bug Fixes
22
+
23
+ * nml-client depends on core-base ([#2995](https://github.com/Applitools-Dev/sdk/issues/2995)) ([1f7cf69](https://github.com/Applitools-Dev/sdk/commit/1f7cf6930709a40a498dd1f525132648aa593af0))
24
+
25
+
26
+
27
+ * @applitools/tunnel-client bumped to 1.8.0
28
+ #### Features
29
+
30
+ * update build script to include individual zip creation ([#3008](https://github.com/Applitools-Dev/sdk/issues/3008)) ([46a0cfc](https://github.com/Applitools-Dev/sdk/commit/46a0cfcc472ab69384560095d90a7fa58b4b9186))
31
+
32
+
33
+
34
+ * @applitools/ufg-client bumped to 1.16.12
35
+ #### Bug Fixes
36
+
37
+ * remove safari-early-access browser version for js sdks | AD-10226 ([#3034](https://github.com/Applitools-Dev/sdk/issues/3034)) ([7ca09f5](https://github.com/Applitools-Dev/sdk/commit/7ca09f5c0c271570142058ea766533b86434dc2e))
38
+
39
+
40
+
41
+ * @applitools/core bumped to 4.40.0
42
+ #### Features
43
+
44
+ * update build script to include individual zip creation ([#3008](https://github.com/Applitools-Dev/sdk/issues/3008)) ([46a0cfc](https://github.com/Applitools-Dev/sdk/commit/46a0cfcc472ab69384560095d90a7fa58b4b9186))
45
+
46
+
47
+ #### Bug Fixes
48
+
49
+ * css media query group conditions | FLD-3151 ([#3023](https://github.com/Applitools-Dev/sdk/issues/3023)) ([56ec107](https://github.com/Applitools-Dev/sdk/commit/56ec107bcda6a5a330d19c278267d73de5d86d8b))
50
+ * export issues for ts js with legacy solution ([#3016](https://github.com/Applitools-Dev/sdk/issues/3016)) ([a3a9daf](https://github.com/Applitools-Dev/sdk/commit/a3a9daf9c3361bb1f253499c1335a1434ec520d1))
51
+ * extractLatestCommitInfo | FLD-3217 ([#3039](https://github.com/Applitools-Dev/sdk/issues/3039)) ([3f72a23](https://github.com/Applitools-Dev/sdk/commit/3f72a230fa0166046ea85ae004cfb544de86e628))
52
+ * handle error when sending started message in tunnel manager server ([#3019](https://github.com/Applitools-Dev/sdk/issues/3019)) ([2cdaad8](https://github.com/Applitools-Dev/sdk/commit/2cdaad896fd679187449b69abe529b006f6255ee))
53
+
54
+
55
+
56
+ * @applitools/req bumped to 1.7.13
57
+
58
+ * @applitools/dom-capture bumped to 11.5.6
59
+
60
+ * @applitools/spec-driver-webdriver bumped to 1.2.6
61
+
62
+ * @applitools/screenshoter bumped to 3.11.5
63
+
64
+ * @applitools/core-base bumped to 1.25.4
65
+ #### Bug Fixes
66
+
67
+ * Differentiate Between Invalid and Missing API Key Errors ([6ac17d4](https://github.com/Applitools-Dev/sdk/commit/6ac17d40d7aff45b3de5c949dc7d4673b9739bfd))
68
+ * export issues for ts js with legacy solution ([#3016](https://github.com/Applitools-Dev/sdk/issues/3016)) ([a3a9daf](https://github.com/Applitools-Dev/sdk/commit/a3a9daf9c3361bb1f253499c1335a1434ec520d1))
69
+
70
+
71
+
72
+ * @applitools/ec-client bumped to 1.10.15
73
+
74
+ * @applitools/eyes bumped to 1.35.1
75
+ #### Bug Fixes
76
+
77
+ * remove safari-early-access browser version for js sdks | AD-10226 ([#3034](https://github.com/Applitools-Dev/sdk/issues/3034)) ([7ca09f5](https://github.com/Applitools-Dev/sdk/commit/7ca09f5c0c271570142058ea766533b86434dc2e))
78
+
79
+
80
+
81
+ * @applitools/test-server bumped to 1.2.3
82
+ #### Bug Fixes
83
+
84
+ * basic auth protected resources | FLD-2761 | FMRI-120 ([#2444](https://github.com/Applitools-Dev/sdk/issues/2444)) ([b48cf49](https://github.com/Applitools-Dev/sdk/commit/b48cf49dec50bbf1ed2ba111608a48cf09962565))
85
+ * export issues for ts js with legacy solution ([#3016](https://github.com/Applitools-Dev/sdk/issues/3016)) ([a3a9daf](https://github.com/Applitools-Dev/sdk/commit/a3a9daf9c3361bb1f253499c1335a1434ec520d1))
86
+ * storybook navigation timeouts ([#2701](https://github.com/Applitools-Dev/sdk/issues/2701)) ([64e3a40](https://github.com/Applitools-Dev/sdk/commit/64e3a40a524ae76ec457ae9c2d1170fbaea5e982))
87
+
88
+
89
+
90
+
91
+ ## [1.29.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer@1.29.2...js/eyes-puppeteer@1.29.3) (2025-04-17)
92
+
93
+
94
+ ### Performance Improvements
95
+
96
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
97
+
98
+
99
+ ### Dependencies
100
+
101
+ * @applitools/dom-snapshot bumped to 4.11.18
102
+ #### Bug Fixes
103
+
104
+ * simplify sandbox creation and ensure cleanup after execution ([#2869](https://github.com/Applitools-Dev/sdk/issues/2869)) ([72c5e01](https://github.com/Applitools-Dev/sdk/commit/72c5e01307f6abd83fab365a7e235124caae0694))
105
+
106
+
107
+
108
+ * @applitools/snippets bumped to 2.6.5
109
+ #### Performance Improvements
110
+
111
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
112
+ * @applitools/driver bumped to 1.21.1
113
+ #### Bug Fixes
114
+
115
+ * executePoll error logging FLD-2870 ([#2890](https://github.com/Applitools-Dev/sdk/issues/2890)) ([a8ff720](https://github.com/Applitools-Dev/sdk/commit/a8ff720efafacabe2023282748a6d8a0f1b3ff73))
116
+
117
+
118
+
119
+ * @applitools/spec-driver-webdriver bumped to 1.2.2
120
+ #### Performance Improvements
121
+
122
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
123
+
124
+
125
+
126
+ * @applitools/spec-driver-selenium bumped to 1.5.98
127
+ #### Performance Improvements
128
+
129
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
130
+
131
+
132
+
133
+ * @applitools/spec-driver-puppeteer bumped to 1.4.27
134
+ #### Performance Improvements
135
+
136
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
137
+
138
+
139
+
140
+ * @applitools/screenshoter bumped to 3.11.1
141
+ #### Performance Improvements
142
+
143
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
144
+
145
+
146
+
147
+ * @applitools/nml-client bumped to 1.9.1
148
+ #### Performance Improvements
149
+
150
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
151
+
152
+
153
+
154
+ * @applitools/tunnel-client bumped to 1.6.5
155
+ #### Bug Fixes
156
+
157
+ * enhance error messages in tunnel client ([cab26e6](https://github.com/Applitools-Dev/sdk/commit/cab26e6e3d56fa3cbabaa1a9c68de13046b8f57e))
158
+ * @applitools/ufg-client bumped to 1.16.9
159
+ #### Bug Fixes
160
+
161
+ * basic auth protected resources | FLD-2761 | FMRI-120 ([#2444](https://github.com/Applitools-Dev/sdk/issues/2444)) ([b48cf49](https://github.com/Applitools-Dev/sdk/commit/b48cf49dec50bbf1ed2ba111608a48cf09962565))
162
+
163
+
164
+ #### Performance Improvements
165
+
166
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
167
+ * @applitools/ec-client bumped to 1.10.9
168
+ #### Performance Improvements
169
+
170
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
171
+
172
+
173
+
174
+ * @applitools/core bumped to 4.37.0
175
+ #### Features
176
+
177
+ * height layout breakpoints ([#2801](https://github.com/Applitools-Dev/sdk/issues/2801)) ([819e241](https://github.com/Applitools-Dev/sdk/commit/819e2418f1fd93220a07dfbcf1157ffcf4995dd7))
178
+
179
+
180
+
181
+ * @applitools/eyes bumped to 1.34.0
182
+ #### Features
183
+
184
+ * height layout breakpoints ([#2801](https://github.com/Applitools-Dev/sdk/issues/2801)) ([819e241](https://github.com/Applitools-Dev/sdk/commit/819e2418f1fd93220a07dfbcf1157ffcf4995dd7))
185
+
186
+
187
+ #### Bug Fixes
188
+
189
+ * add checks for undefined regions in CheckSettings | AD-9042 ([#2868](https://github.com/Applitools-Dev/sdk/issues/2868)) ([0f7c991](https://github.com/Applitools-Dev/sdk/commit/0f7c9913d64e0535ba5ffe632923a3bf440be65f))
190
+
191
+
192
+
193
+
3
194
  ## [1.29.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer@1.29.1...js/eyes-puppeteer@1.29.2) (2025-04-03)
4
195
 
5
196
 
package/README.md CHANGED
@@ -1,12 +1,73 @@
1
- <div align="center">
1
+ ## Applitools Eyes SDK for [Puppeteer](https://pptr.dev/).
2
2
 
3
- ![Applitools Eyes](https://i.ibb.co/3hWJK68/applitools-eyes-logo.png)
4
- ### Applitools Eyes SDK for [Puppeteer](https://developers.google.com/web/tools/puppeteer)
5
- [![npm](https://img.shields.io/npm/v/@applitools/eyes-puppeteer.svg?style=for-the-badge)](https://www.npmjs.com/package/@applitools/eyes-puppeteer)
3
+ ## Installation
6
4
 
7
- </div>
8
- <br/>
5
+ Install eyes-puppeteer as a local dev dependency in your tested project:
9
6
 
10
- ## Resources
11
- - [Quick start](https://applitools.com/tutorials/quickstart/web/puppeteer)
12
- - [API reference](https://applitools.com/docs/api-ref/sdk-api/puppeteer/javascript/)
7
+ ```bash
8
+ npm i -D @applitools/eyes-puppeteer
9
+ ```
10
+
11
+ ## Getting started
12
+
13
+ To get started with this SDK, you need to set the following:
14
+
15
+ * [Applitools API key](#API)
16
+ * [Eyes server URL](#URL) - Required only if the Eyes server is not deployed on the Eyes public server.
17
+
18
+
19
+ ### Entering the Applitools API key {#API}
20
+
21
+ To authenticate via the Applitools server and run tests, you need to set the environment variable `APPLITOOLS_API_KEY` to the API key provided from Applitools Eyes. For details how to retrieve your API key, see [the Applitools documentation](https://applitools.com/tutorials/getting-started/retrieve-api-key) in the Eyes Knowledge Center.
22
+
23
+ #### Entering the API Key on Linux or a Mac
24
+
25
+ ```bash
26
+ export APPLITOOLS_API_KEY=<your_key>
27
+ npm test
28
+ ```
29
+
30
+ #### Entering the API Key on Windows
31
+
32
+ ```bash
33
+ set APPLITOOLS_API_KEY=<your_key>
34
+ npx test
35
+ ```
36
+
37
+ #### Entering the API Key programmatically
38
+
39
+ ```js
40
+ eyes.setApiKey('<your API key>')
41
+ ```
42
+
43
+ ### Eyes server URL {#URL}
44
+
45
+ If the Eyes server is not deployed in `https://eyes.applitools.com`, you need to set the Server URL in the environment variable `APPLITOOLS_SERVER_URL` before running tests.
46
+
47
+ The server URL of your Applitools Eyes dashboard is in the format `https://<MY_COMPANY>.applitools.com`
48
+
49
+
50
+ #### Entering the server URL on Linux or a Mac
51
+
52
+ ```bash
53
+ export APPLITOOLS_SERVER_URL=<YOUR_SERVER_URL>
54
+ ```
55
+
56
+ #### Entering the server URL on Windows
57
+
58
+ ```bash
59
+ set APPLITOOLS_SERVER_URL=<YOUR_SERVER_URL>
60
+ ```
61
+
62
+
63
+
64
+
65
+
66
+
67
+ ## Further information
68
+
69
+ For further information, see:
70
+
71
+ * [Quickstart](https://applitools.com/tutorials/sdks/puppeteer/quickstart)
72
+ * [Overview](https://applitools.com/tutorials/sdks/puppeteer)
73
+ * [Changelog](https://applitools.com/tutorials/sdks/puppeteer/changelog)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-puppeteer",
3
- "version": "1.29.2",
3
+ "version": "1.29.4",
4
4
  "description": "Applitools Eyes SDK for Puppeteer",
5
5
  "keywords": [
6
6
  "eyes-puppeteer",
@@ -13,7 +13,7 @@
13
13
  "tests",
14
14
  "puppeteer"
15
15
  ],
16
- "homepage": "https://applitools.com/docs/api-ref/sdk-api/puppeteer/javascript/",
16
+ "homepage": "https://applitools.com/tutorials/sdks/puppeteer",
17
17
  "license": "SEE LICENSE IN LICENSE",
18
18
  "author": {
19
19
  "name": "Applitools Team",
@@ -37,8 +37,8 @@
37
37
  "up:framework": "echo \"$(jq '.devDependencies.puppeteer = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
38
38
  },
39
39
  "dependencies": {
40
- "@applitools/eyes": "1.33.2",
41
- "@applitools/spec-driver-puppeteer": "1.4.26"
40
+ "@applitools/eyes": "1.35.1",
41
+ "@applitools/spec-driver-puppeteer": "1.4.30"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@applitools/api-extractor": "^1.2.22",
package/types/index.d.ts CHANGED
@@ -267,7 +267,7 @@ export type CheckSettingsAutomationPlain = {
267
267
  scrollRootElement?: undefined | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
268
268
  fully?: undefined | boolean;
269
269
  disableBrowserFetching?: undefined | boolean;
270
- layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
270
+ layoutBreakpoints?: undefined | (boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; } | { breakpoints: boolean; heightBreakpoints: boolean; reload?: undefined | boolean; });
271
271
  visualGridOptions?: undefined | { [key: string]: any; };
272
272
  ufgOptions?: undefined | { [key: string]: any; };
273
273
  nmgOptions?: undefined | { [key: string]: any; };
@@ -296,8 +296,9 @@ export class CheckSettingsAutomation {
296
296
  fully(fully?: undefined | boolean): CheckSettingsAutomation;
297
297
  stitchContent(stitchContent?: undefined | boolean): CheckSettingsAutomation;
298
298
  disableBrowserFetching(disableBrowserFetching: boolean): CheckSettingsAutomation;
299
- layoutBreakpoints(breakpoints?: undefined | boolean, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
300
- layoutBreakpoints(breakpoints?: undefined | Array<number>, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
299
+ layoutBreakpoints(breakpoints: boolean, heightBreakpoints: boolean, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
300
+ layoutBreakpoints(breakpoints: boolean, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
301
+ layoutBreakpoints(breakpoints: Array<number>, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
301
302
  hook(name: string, script: string): CheckSettingsAutomation;
302
303
  beforeRenderScreenshotHook(script: string): CheckSettingsAutomation;
303
304
  webHook(script: string): CheckSettingsAutomation;
@@ -836,7 +837,7 @@ export class BatchClose {
836
837
  setProxy(proxy: ProxySettingsPlain): BatchClose;
837
838
  }
838
839
  export const closeBatch: (options: { batchIds: Array<string>; serverUrl: string; apiKey: string; proxy?: undefined | ProxySettingsPlain; }) => Promise<void>;
839
- export type BrowserTypePlain = "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back";
840
+ export type BrowserTypePlain = "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-one-version-back" | "safari-two-versions-back";
840
841
  export enum BrowserType {
841
842
  CHROME = 'chrome',
842
843
  CHROME_ONE_VERSION_BACK = 'chrome-one-version-back',
@@ -852,7 +853,6 @@ export enum BrowserType {
852
853
  EDGE_CHROMIUM_ONE_VERSION_BACK = 'edgechromium-one-version-back',
853
854
  EDGE_CHROMIUM_TWO_VERSIONS_BACK = 'edgechromium-two-versions-back',
854
855
  SAFARI = 'safari',
855
- SAFARI_EARLY_ACCESS = 'safari-earlyaccess',
856
856
  SAFARI_ONE_VERSION_BACK = 'safari-one-version-back',
857
857
  SAFARI_TWO_VERSIONS_BACK = 'safari-two-versions-back'
858
858
  }