@applitools/driver 1.26.0 → 1.26.2
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 +49 -0
- package/dist/driver.js +1 -1
- package/dist/element.js +6 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.26.2](https://github.com/Applitools-Dev/sdk/compare/js/driver@1.26.1...js/driver@1.26.2) (2026-05-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* redact cookie values from logs to prevent sensitive data exposure | AD-12834 ([#3835](https://github.com/Applitools-Dev/sdk/issues/3835)) ([d883647](https://github.com/Applitools-Dev/sdk/commit/d883647d8e007467bd2770ddb79f89be057067b9))
|
|
9
|
+
* strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Dependencies
|
|
13
|
+
|
|
14
|
+
* @applitools/utils bumped to 1.14.5
|
|
15
|
+
#### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
|
|
18
|
+
* @applitools/logger bumped to 2.2.12
|
|
19
|
+
#### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
* @applitools/dom-shared bumped to 1.2.1
|
|
26
|
+
#### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
|
|
29
|
+
* @applitools/snippets bumped to 2.9.2
|
|
30
|
+
#### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* strip .d.ts extension from import() type specifiers | FLD-4429 ([#3830](https://github.com/Applitools-Dev/sdk/issues/3830)) ([37aac45](https://github.com/Applitools-Dev/sdk/commit/37aac45958b713702bea87c144623dd3e65fce79))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [1.26.1](https://github.com/Applitools-Dev/sdk/compare/js/driver@1.26.0...js/driver@1.26.1) (2026-05-19)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* address CI regressions from executeBrowserCommands and Chromium 140+ service worker ([#3848](https://github.com/Applitools-Dev/sdk/issues/3848)) ([099ada5](https://github.com/Applitools-Dev/sdk/commit/099ada5e52d4153157b98c2203df428579527e49))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Dependencies
|
|
46
|
+
|
|
47
|
+
* @applitools/snippets bumped to 2.9.1
|
|
48
|
+
#### Bug Fixes
|
|
49
|
+
|
|
50
|
+
* declare @babel/preset-typescript dep for sandbox build ([#3815](https://github.com/Applitools-Dev/sdk/issues/3815)) ([10c44c6](https://github.com/Applitools-Dev/sdk/commit/10c44c66635f1ed4e0361f22ecebf2221c2cc912))
|
|
51
|
+
|
|
3
52
|
## [1.26.0](https://github.com/Applitools-Dev/sdk/compare/js/driver@1.25.5...js/driver@1.26.0) (2026-05-05)
|
|
4
53
|
|
|
5
54
|
|
package/dist/driver.js
CHANGED
|
@@ -865,7 +865,7 @@ class Driver {
|
|
|
865
865
|
return [];
|
|
866
866
|
try {
|
|
867
867
|
const cookies = await ((_b = (_a = this._spec).getCookies) === null || _b === void 0 ? void 0 : _b.call(_a, this.target));
|
|
868
|
-
this._logger.log('Extracted driver cookies', cookies);
|
|
868
|
+
this._logger.log('Extracted driver cookies, number of cookies:', cookies === null || cookies === void 0 ? void 0 : cookies.length);
|
|
869
869
|
return cookies !== null && cookies !== void 0 ? cookies : [];
|
|
870
870
|
}
|
|
871
871
|
catch (error) {
|
package/dist/element.js
CHANGED
|
@@ -699,8 +699,12 @@ class Element {
|
|
|
699
699
|
if (this._originalOverflow)
|
|
700
700
|
return;
|
|
701
701
|
return this.withRefresh(async () => {
|
|
702
|
-
const
|
|
703
|
-
|
|
702
|
+
const result = await this.context.execute(snippets.setElementStyleProperties, [this, { overflow: 'hidden' }]);
|
|
703
|
+
if (!result) {
|
|
704
|
+
this.logger.warn('hideScrollbars: setElementStyleProperties returned null — skipping');
|
|
705
|
+
return;
|
|
706
|
+
}
|
|
707
|
+
this._originalOverflow = result.overflow;
|
|
704
708
|
});
|
|
705
709
|
}
|
|
706
710
|
async restoreScrollbars() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/driver",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.2",
|
|
4
4
|
"description": "Applitools universal framework wrapper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"applitools",
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
"test": "run --top-level mocha './test/**/*.spec.ts'"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@applitools/logger": "2.2.
|
|
77
|
-
"@applitools/snippets": "2.9.
|
|
78
|
-
"@applitools/utils": "1.14.
|
|
76
|
+
"@applitools/logger": "2.2.12",
|
|
77
|
+
"@applitools/snippets": "2.9.2",
|
|
78
|
+
"@applitools/utils": "1.14.5",
|
|
79
79
|
"semver": "7.6.2"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|