@applitools/driver 1.26.0 → 1.26.1
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 +15 -0
- package/dist/element.js +6 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.26.1](https://github.com/Applitools-Dev/sdk/compare/js/driver@1.26.0...js/driver@1.26.1) (2026-05-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* 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))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/snippets bumped to 2.9.1
|
|
14
|
+
#### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* 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))
|
|
17
|
+
|
|
3
18
|
## [1.26.0](https://github.com/Applitools-Dev/sdk/compare/js/driver@1.25.5...js/driver@1.26.0) (2026-05-05)
|
|
4
19
|
|
|
5
20
|
|
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.1",
|
|
4
4
|
"description": "Applitools universal framework wrapper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"applitools",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@applitools/logger": "2.2.11",
|
|
77
|
-
"@applitools/snippets": "2.9.
|
|
77
|
+
"@applitools/snippets": "2.9.1",
|
|
78
78
|
"@applitools/utils": "1.14.4",
|
|
79
79
|
"semver": "7.6.2"
|
|
80
80
|
},
|