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