webdriverio 8.44.0 → 8.45.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isElementClickable.d.ts","sourceRoot":"","sources":["../../src/scripts/isElementClickable.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAE,IAAI,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"isElementClickable.d.ts","sourceRoot":"","sources":["../../src/scripts/isElementClickable.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAE,IAAI,EAAE,WAAW,WA4J5D"}
|
|
@@ -108,8 +108,12 @@ export default function isElementClickable(elem) {
|
|
|
108
108
|
function getViewportScrollPositions() {
|
|
109
109
|
return {
|
|
110
110
|
// Cross-browser compatibility
|
|
111
|
-
x: window.scrollX
|
|
112
|
-
|
|
111
|
+
x: window.scrollX !== null && window.scrollX !== void 0
|
|
112
|
+
? window.scrollX
|
|
113
|
+
: window.pageXOffset,
|
|
114
|
+
y: window.scrollY !== null && window.scrollY !== void 0
|
|
115
|
+
? window.scrollY
|
|
116
|
+
: window.pageYOffset,
|
|
113
117
|
};
|
|
114
118
|
}
|
|
115
119
|
// scroll the element to the center of the viewport when
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webdriverio",
|
|
3
3
|
"description": "Next-gen browser and mobile automation test framework for Node.js",
|
|
4
|
-
"version": "8.
|
|
4
|
+
"version": "8.45.0",
|
|
5
5
|
"homepage": "https://webdriver.io",
|
|
6
6
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@types/node": "^22.2.0",
|
|
72
|
-
"@wdio/config": "8.
|
|
72
|
+
"@wdio/config": "8.45.0",
|
|
73
73
|
"@wdio/logger": "8.38.0",
|
|
74
74
|
"@wdio/protocols": "8.44.0",
|
|
75
75
|
"@wdio/repl": "8.40.3",
|
|
76
76
|
"@wdio/types": "8.41.0",
|
|
77
|
-
"@wdio/utils": "8.
|
|
77
|
+
"@wdio/utils": "8.45.0",
|
|
78
78
|
"archiver": "^7.0.0",
|
|
79
79
|
"aria-query": "^5.0.0",
|
|
80
80
|
"css-shorthand-properties": "^1.1.1",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"resq": "^1.9.1",
|
|
93
93
|
"rgb2hex": "0.2.5",
|
|
94
94
|
"serialize-error": "^11.0.1",
|
|
95
|
-
"webdriver": "8.
|
|
95
|
+
"webdriver": "8.45.0"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
98
|
"devtools": "^8.14.0"
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"optional": true
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "7836fbee7a85a16f2b7faa592969f914c504ba8a"
|
|
106
106
|
}
|