@applitools/eyes-webdriverio 5.58.1 → 5.58.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,196 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.58.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes-webdriverio@5.58.2...js/eyes-webdriverio@5.58.3) (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
+ ## [5.58.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-webdriverio@5.58.1...js/eyes-webdriverio@5.58.2) (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
  ## [5.58.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-webdriverio@5.58.0...js/eyes-webdriverio@5.58.1) (2025-04-03)
4
195
 
5
196
 
package/README.md CHANGED
@@ -1,12 +1,61 @@
1
- <div align="center">
1
+ ## Applitools Eyes SDK for [WebdriverIO](https://webdriver.io/)
2
2
 
3
- ![Applitools Eyes](https://i.ibb.co/3hWJK68/applitools-eyes-logo.png)
4
- ### Applitools Eyes SDK for [webdriver.io](https://webdriver.io)
5
- [![npm](https://img.shields.io/npm/v/@applitools/eyes-webdriverio.svg?style=for-the-badge)](https://www.npmjs.com/package/@applitools/eyes-webdriverio)
3
+ ## Installation
6
4
 
7
- </div>
8
- <br/>
5
+ To install Eyes-WebdriverIO as a local development dependency in your test project:
9
6
 
10
- ## Resources
11
- - [Quick start](https://applitools.com/tutorials/quickstart/web/webdriverio)
12
- - [API reference](https://applitools.com/docs/api-ref/sdk-api/wdiogeneric/javascript/)
7
+ ```shell
8
+ npm install --save-dev @applitools/eyes-webdriverio
9
+ ```
10
+ This command will add the `@applitools/eyes-webdriverio` package to your project's `package.json` file and install it in the `node_modules` directory.
11
+
12
+ ## Setting API Key and Server URL
13
+
14
+ To get started with this SDK, you need to set the following:
15
+
16
+ * [Applitools API key](#API)
17
+ * [Eyes server URL](#URL) - Only required if the Eyes server is not deployed on the Eyes public server.
18
+
19
+ ### Entering the Applitools API Key {#API}
20
+
21
+ To authenticate via the Applitools server and run tests, set the environment variable `APPLITOOLS_API_KEY` to the API key provided by Applitools Eyes. For details on how to retrieve your API key, see [the Applitools documentation](https://applitools.com/tutorials/getting-started/retrieve-api-key).
22
+
23
+ To set the API Key on Linux or macOS:
24
+
25
+ ```bash
26
+ export APPLITOOLS_API_KEY=<API_key>
27
+ ```
28
+
29
+ To set the API Key on Windows:
30
+
31
+ ```bash
32
+ set APPLITOOLS_API_KEY=<API_key>
33
+ ```
34
+
35
+ ### Eyes Server URL {#URL}
36
+
37
+ If the Eyes server is not deployed at `https://eyes.applitools.com`, set the server URL in the environment variable `APPLITOOLS_SERVER_URL`.
38
+
39
+ The server URL of your Applitools Eyes dashboard should follow the format `https://<MY_COMPANY>.applitools.com`
40
+
41
+ To set the server URL on Linux or macOS:
42
+
43
+ ```bash
44
+ export APPLITOOLS_SERVER_URL=<YOUR_SERVER_URL>
45
+ ```
46
+
47
+ To set the server URL on Windows:
48
+
49
+ ```bash
50
+ set APPLITOOLS_SERVER_URL=<YOUR_SERVER_URL>
51
+ ```
52
+
53
+
54
+
55
+ ## Further information
56
+
57
+ For further information, see:
58
+
59
+ * [Quickstart](https://applitools.com/tutorials/sdks/webdriverio/quickstart)
60
+ * [Overview](https://applitools.com/tutorials/sdks/webdriverio)
61
+ * [Changelog](https://applitools.com/tutorials/sdks/webdriverio/changelog)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-webdriverio",
3
- "version": "5.58.1",
3
+ "version": "5.58.3",
4
4
  "description": "Applitools Eyes SDK for WebdriverIO",
5
5
  "keywords": [
6
6
  "eyes-webdriverio",
@@ -13,7 +13,7 @@
13
13
  "tests",
14
14
  "webdriverio"
15
15
  ],
16
- "homepage": "https://applitools.com/docs/api-ref/sdk-api/wdiogeneric/javascript/",
16
+ "homepage": "https://applitools.com/tutorials/sdks/webdriverio",
17
17
  "license": "SEE LICENSE IN LICENSE",
18
18
  "author": {
19
19
  "name": "Applitools Team",
@@ -71,9 +71,9 @@
71
71
  "up:framework": "echo \"$(jq '.devDependencies |= . + ([\"webdriverio\", \"@wdio/cli\", \"@wdio/local-runner\", \"@wdio/mocha-framework\"] | with_entries({key: .value, value: $ENV.APPLITOOLS_FRAMEWORK_VERSION}))' ./package.json)\" > ./package.json"
72
72
  },
73
73
  "dependencies": {
74
- "@applitools/driver": "1.21.0",
75
- "@applitools/eyes": "1.33.2",
76
- "@applitools/spec-driver-webdriver": "1.2.1"
74
+ "@applitools/driver": "1.21.4",
75
+ "@applitools/eyes": "1.35.1",
76
+ "@applitools/spec-driver-webdriver": "1.2.6"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@applitools/api-extractor": "^1.2.22",
package/types/index.d.ts CHANGED
@@ -266,7 +266,7 @@ export type CheckSettingsAutomationPlain = {
266
266
  scrollRootElement?: undefined | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
267
267
  fully?: undefined | boolean;
268
268
  disableBrowserFetching?: undefined | boolean;
269
- layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
269
+ layoutBreakpoints?: undefined | (boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; } | { breakpoints: boolean; heightBreakpoints: boolean; reload?: undefined | boolean; });
270
270
  visualGridOptions?: undefined | { [key: string]: any; };
271
271
  ufgOptions?: undefined | { [key: string]: any; };
272
272
  nmgOptions?: undefined | { [key: string]: any; };
@@ -295,8 +295,9 @@ export class CheckSettingsAutomation {
295
295
  fully(fully?: undefined | boolean): CheckSettingsAutomation;
296
296
  stitchContent(stitchContent?: undefined | boolean): CheckSettingsAutomation;
297
297
  disableBrowserFetching(disableBrowserFetching: boolean): CheckSettingsAutomation;
298
- layoutBreakpoints(breakpoints?: undefined | boolean, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
299
- layoutBreakpoints(breakpoints?: undefined | Array<number>, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
298
+ layoutBreakpoints(breakpoints: boolean, heightBreakpoints: boolean, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
299
+ layoutBreakpoints(breakpoints: boolean, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
300
+ layoutBreakpoints(breakpoints: Array<number>, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
300
301
  hook(name: string, script: string): CheckSettingsAutomation;
301
302
  beforeRenderScreenshotHook(script: string): CheckSettingsAutomation;
302
303
  webHook(script: string): CheckSettingsAutomation;
@@ -835,7 +836,7 @@ export class BatchClose {
835
836
  setProxy(proxy: ProxySettingsPlain): BatchClose;
836
837
  }
837
838
  export const closeBatch: (options: { batchIds: Array<string>; serverUrl: string; apiKey: string; proxy?: undefined | ProxySettingsPlain; }) => Promise<void>;
838
- export type BrowserTypePlain = "chrome" | "firefox" | "chrome-one-version-back" | "chrome-two-versions-back" | "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";
839
+ export type BrowserTypePlain = "chrome" | "firefox" | "chrome-one-version-back" | "chrome-two-versions-back" | "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";
839
840
  export enum BrowserType {
840
841
  CHROME = 'chrome',
841
842
  CHROME_ONE_VERSION_BACK = 'chrome-one-version-back',
@@ -851,7 +852,6 @@ export enum BrowserType {
851
852
  EDGE_CHROMIUM_ONE_VERSION_BACK = 'edgechromium-one-version-back',
852
853
  EDGE_CHROMIUM_TWO_VERSIONS_BACK = 'edgechromium-two-versions-back',
853
854
  SAFARI = 'safari',
854
- SAFARI_EARLY_ACCESS = 'safari-earlyaccess',
855
855
  SAFARI_ONE_VERSION_BACK = 'safari-one-version-back',
856
856
  SAFARI_TWO_VERSIONS_BACK = 'safari-two-versions-back'
857
857
  }