@applitools/eyes-playwright 1.19.1 → 1.21.0

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,208 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.21.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-playwright-v1.20.1...js/eyes-playwright@1.21.0) (2023-09-29)
4
+
5
+
6
+ ### Features
7
+
8
+ * rework log event on opent eyes ([#1842](https://github.com/applitools/eyes.sdk.javascript1/issues/1842)) ([532756b](https://github.com/applitools/eyes.sdk.javascript1/commit/532756b75c1023967c3781316148c890dbcfaac8))
9
+
10
+
11
+ ### Code Refactoring
12
+
13
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * @applitools/spec-driver-webdriver bumped to 1.0.47
19
+
20
+ * @applitools/spec-driver-selenium bumped to 1.5.61
21
+
22
+ * @applitools/spec-driver-playwright bumped to 1.3.28
23
+
24
+ * @applitools/spec-driver-puppeteer bumped to 1.2.3
25
+
26
+ * @applitools/driver bumped to 1.14.3
27
+ #### Bug Fixes
28
+
29
+ * force native on get environment ([#1939](https://github.com/applitools/eyes.sdk.javascript1/issues/1939)) ([f42854e](https://github.com/applitools/eyes.sdk.javascript1/commit/f42854eacc769751447204143cb4d50113edc732))
30
+ * @applitools/screenshoter bumped to 3.8.13
31
+ #### Bug Fixes
32
+
33
+ * force native on get environment ([#1939](https://github.com/applitools/eyes.sdk.javascript1/issues/1939)) ([f42854e](https://github.com/applitools/eyes.sdk.javascript1/commit/f42854eacc769751447204143cb4d50113edc732))
34
+
35
+
36
+
37
+ * @applitools/nml-client bumped to 1.5.13
38
+
39
+ * @applitools/ec-client bumped to 1.7.12
40
+ #### Bug Fixes
41
+
42
+ * change expiration time of the tunnel ([c019241](https://github.com/applitools/eyes.sdk.javascript1/commit/c0192411410135b23f3ae47dd62fbef67be66f1a))
43
+
44
+
45
+ #### Code Refactoring
46
+
47
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
48
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
49
+
50
+
51
+
52
+ * @applitools/core-base bumped to 1.7.1
53
+ #### Bug Fixes
54
+
55
+ * send domMapping payload with correct content encoding ([2bc8e39](https://github.com/applitools/eyes.sdk.javascript1/commit/2bc8e390de1d147d84d1de24df337b8652547b6a))
56
+ * @applitools/core bumped to 3.11.5
57
+
58
+ * @applitools/eyes bumped to 1.10.0
59
+ #### Features
60
+
61
+ * added more iOS devices ([a84311f](https://github.com/applitools/eyes.sdk.javascript1/commit/a84311f88e6f532268543a96f841ae5ad87d5659))
62
+ * rework log event on opent eyes ([#1842](https://github.com/applitools/eyes.sdk.javascript1/issues/1842)) ([532756b](https://github.com/applitools/eyes.sdk.javascript1/commit/532756b75c1023967c3781316148c890dbcfaac8))
63
+
64
+
65
+ #### Code Refactoring
66
+
67
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
68
+
69
+
70
+
71
+
72
+ ## [1.20.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-playwright-v1.19.2...js/eyes-playwright@1.20.0) (2023-09-25)
73
+
74
+
75
+ ### Features
76
+
77
+ * rework log event on opent eyes ([#1842](https://github.com/applitools/eyes.sdk.javascript1/issues/1842)) ([532756b](https://github.com/applitools/eyes.sdk.javascript1/commit/532756b75c1023967c3781316148c890dbcfaac8))
78
+
79
+
80
+ ### Code Refactoring
81
+
82
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
83
+
84
+
85
+ ### Dependencies
86
+
87
+ * @applitools/utils bumped to 1.6.1
88
+ #### Bug Fixes
89
+
90
+ * add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
91
+
92
+
93
+ #### Code Refactoring
94
+
95
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
96
+ * @applitools/logger bumped to 2.0.11
97
+ #### Bug Fixes
98
+
99
+ * add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
100
+
101
+
102
+
103
+ * @applitools/socket bumped to 1.1.11
104
+ #### Code Refactoring
105
+
106
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
107
+
108
+
109
+
110
+ * @applitools/req bumped to 1.6.1
111
+ #### Bug Fixes
112
+
113
+ * add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
114
+
115
+
116
+
117
+ * @applitools/image bumped to 1.1.6
118
+ #### Code Refactoring
119
+
120
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
121
+
122
+
123
+
124
+ * @applitools/spec-driver-playwright bumped to 1.3.27
125
+ #### Code Refactoring
126
+
127
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
128
+
129
+
130
+
131
+ * @applitools/spec-driver-puppeteer bumped to 1.2.2
132
+ #### Code Refactoring
133
+
134
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
135
+
136
+
137
+
138
+ * @applitools/ufg-client bumped to 1.9.2
139
+ #### Code Refactoring
140
+
141
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
142
+
143
+
144
+
145
+ * @applitools/core bumped to 3.11.2
146
+ #### Reverts
147
+
148
+ * perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
149
+
150
+
151
+ #### Code Refactoring
152
+
153
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
154
+
155
+
156
+
157
+ * @applitools/spec-driver-webdriver bumped to 1.0.46
158
+
159
+ * @applitools/spec-driver-selenium bumped to 1.5.60
160
+
161
+ * @applitools/driver bumped to 1.14.2
162
+ #### Code Refactoring
163
+
164
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
165
+
166
+
167
+
168
+ * @applitools/screenshoter bumped to 3.8.12
169
+
170
+ * @applitools/nml-client bumped to 1.5.12
171
+ #### Code Refactoring
172
+
173
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
174
+
175
+
176
+
177
+ * @applitools/tunnel-client bumped to 1.2.3
178
+ #### Code Refactoring
179
+
180
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
181
+
182
+
183
+
184
+ * @applitools/ec-client bumped to 1.7.10
185
+ #### Code Refactoring
186
+
187
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
188
+
189
+
190
+
191
+ * @applitools/core-base bumped to 1.6.1
192
+ #### Reverts
193
+
194
+ * perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
195
+
196
+
197
+ #### Code Refactoring
198
+
199
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
200
+
201
+
202
+
203
+ * @applitools/eyes bumped to 1.9.1
204
+
205
+
3
206
  ## [1.19.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-playwright@1.19.0...js/eyes-playwright@1.19.1) (2023-09-12)
4
207
 
5
208
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-playwright",
3
- "version": "1.19.1",
3
+ "version": "1.21.0",
4
4
  "description": "Applitools Eyes SDK for Playwright",
5
5
  "keywords": [
6
6
  "eyes-playwright",
@@ -34,8 +34,8 @@
34
34
  "up:framework": "yarn add --dev --caret playwright${APPLITOOLS_FRAMEWORK_VERSION:+@$APPLITOOLS_FRAMEWORK_VERSION}"
35
35
  },
36
36
  "dependencies": {
37
- "@applitools/eyes": "1.8.4",
38
- "@applitools/spec-driver-playwright": "1.3.25"
37
+ "@applitools/eyes": "1.10.0",
38
+ "@applitools/spec-driver-playwright": "1.3.28"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@applitools/api-extractor": "^1.2.22",
package/types/index.d.ts CHANGED
@@ -74,7 +74,7 @@ export class Eyes {
74
74
  checkImage(image: Buffer, name?: undefined | string, ignoreMismatch?: undefined | boolean): Promise<MatchResult>;
75
75
  checkImage(image: URL, name?: undefined | string, ignoreMismatch?: undefined | boolean): Promise<MatchResult>;
76
76
  locate<TLocator extends string>(target: {
77
- image: string | Buffer | URL;
77
+ image: string | Uint8Array | URL;
78
78
  size?: undefined | { width: number; height: number; };
79
79
  name?: undefined | string;
80
80
  source?: undefined | string;
@@ -85,7 +85,7 @@ export class Eyes {
85
85
  }, settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Array<RegionPlain>>>;
86
86
  locate<TLocator extends string>(settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Array<RegionPlain>>>;
87
87
  extractTextRegions<TPattern extends string>(target: {
88
- image: string | Buffer | URL;
88
+ image: string | Uint8Array | URL;
89
89
  size?: undefined | { width: number; height: number; };
90
90
  name?: undefined | string;
91
91
  source?: undefined | string;
@@ -94,10 +94,10 @@ export class Eyes {
94
94
  locationInView?: undefined | { x: number; y: number; };
95
95
  fullViewSize?: undefined | { width: number; height: number; };
96
96
  }, settings: OCRSettings<TPattern>): Promise<Record<TPattern, Array<TextRegion>>>;
97
- extractTextRegions<TPattern extends string>(settingsWithImage: OCRSettings<TPattern> & { image: string | Buffer | URL; }): Promise<Record<TPattern, Array<TextRegion>>>;
97
+ extractTextRegions<TPattern extends string>(settingsWithImage: OCRSettings<TPattern> & { image: string | Uint8Array | URL; }): Promise<Record<TPattern, Array<TextRegion>>>;
98
98
  extractTextRegions<TPattern extends string>(settings: OCRSettings<TPattern>): Promise<Record<TPattern, Array<TextRegion>>>;
99
99
  extractText(target: {
100
- image: string | Buffer | URL;
100
+ image: string | Uint8Array | URL;
101
101
  size?: undefined | { width: number; height: number; };
102
102
  name?: undefined | string;
103
103
  source?: undefined | string;
@@ -106,7 +106,7 @@ export class Eyes {
106
106
  locationInView?: undefined | { x: number; y: number; };
107
107
  fullViewSize?: undefined | { width: number; height: number; };
108
108
  }, settings: Array<OCRRegion>): Promise<Array<string>>;
109
- extractText(settingsWithImage: Array<OCRRegion & { image: string | Buffer | URL; }>): Promise<Array<string>>;
109
+ extractText(settingsWithImage: Array<OCRRegion & { image: string | Uint8Array | URL; }>): Promise<Array<string>>;
110
110
  extractText(settings: Array<OCRRegion>): Promise<Array<string>>;
111
111
  close(throwErr?: undefined | boolean): Promise<TestResults>;
112
112
  closeAsync(): Promise<void>;