@applitools/eyes-selenium 4.68.0 → 4.69.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 +139 -0
- package/package.json +3 -3
- package/types/index.d.ts +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,144 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [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)
|
|
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/utils bumped to 1.6.1
|
|
19
|
+
#### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* 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))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
#### Code Refactoring
|
|
25
|
+
|
|
26
|
+
* 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))
|
|
27
|
+
* @applitools/logger bumped to 2.0.11
|
|
28
|
+
#### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* 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))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
* @applitools/socket bumped to 1.1.11
|
|
35
|
+
#### Code Refactoring
|
|
36
|
+
|
|
37
|
+
* 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))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
* @applitools/req bumped to 1.6.1
|
|
42
|
+
#### Bug Fixes
|
|
43
|
+
|
|
44
|
+
* 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))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
* @applitools/image bumped to 1.1.6
|
|
49
|
+
#### Code Refactoring
|
|
50
|
+
|
|
51
|
+
* 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))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
* @applitools/spec-driver-puppeteer bumped to 1.2.2
|
|
56
|
+
#### Code Refactoring
|
|
57
|
+
|
|
58
|
+
* 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))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
* @applitools/ufg-client bumped to 1.9.2
|
|
63
|
+
#### Code Refactoring
|
|
64
|
+
|
|
65
|
+
* 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))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
* @applitools/core bumped to 3.11.2
|
|
70
|
+
#### Reverts
|
|
71
|
+
|
|
72
|
+
* perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
#### Code Refactoring
|
|
76
|
+
|
|
77
|
+
* 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))
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
* @applitools/spec-driver-webdriver bumped to 1.0.46
|
|
82
|
+
|
|
83
|
+
* @applitools/spec-driver-selenium bumped to 1.5.60
|
|
84
|
+
|
|
85
|
+
* @applitools/driver bumped to 1.14.2
|
|
86
|
+
#### Code Refactoring
|
|
87
|
+
|
|
88
|
+
* 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))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
* @applitools/screenshoter bumped to 3.8.12
|
|
93
|
+
|
|
94
|
+
* @applitools/nml-client bumped to 1.5.12
|
|
95
|
+
#### Code Refactoring
|
|
96
|
+
|
|
97
|
+
* 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))
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
* @applitools/tunnel-client bumped to 1.2.3
|
|
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/ec-client bumped to 1.7.10
|
|
109
|
+
#### Code Refactoring
|
|
110
|
+
|
|
111
|
+
* 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))
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
* @applitools/core-base bumped to 1.6.1
|
|
116
|
+
#### Reverts
|
|
117
|
+
|
|
118
|
+
* perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
#### Code Refactoring
|
|
122
|
+
|
|
123
|
+
* 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))
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
* @applitools/eyes bumped to 1.9.1
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
## [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)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
### Dependencies
|
|
134
|
+
|
|
135
|
+
* @applitools/core bumped to 3.10.4
|
|
136
|
+
#### Bug Fixes
|
|
137
|
+
|
|
138
|
+
* update dom-snapshot to support xml pages and parens inside css URLs ([0715d56](https://github.com/applitools/eyes.sdk.javascript1/commit/0715d56c675b23be017c1985cbba3a51aba052b1))
|
|
139
|
+
* @applitools/eyes bumped to 1.8.4
|
|
140
|
+
|
|
141
|
+
|
|
3
142
|
## [4.68.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-selenium-v4.67.6...js/eyes-selenium@4.68.0) (2023-09-11)
|
|
4
143
|
|
|
5
144
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-selenium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.69.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.9.1",
|
|
45
|
+
"@applitools/spec-driver-selenium": "1.5.60"
|
|
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>;
|