@applitools/driver 1.9.33 → 1.9.35
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/dist/element.js +4 -1
- package/package.json +3 -3
package/dist/element.js
CHANGED
|
@@ -660,7 +660,10 @@ class Element {
|
|
|
660
660
|
const result = await operation();
|
|
661
661
|
// Some frameworks could handle stale element reference error by itself or doesn't throw an error
|
|
662
662
|
if (this._spec.isStaleElementError(result, this.selector)) {
|
|
663
|
-
await this.refresh();
|
|
663
|
+
const refreshed = await this.refresh();
|
|
664
|
+
if (!refreshed) {
|
|
665
|
+
throw result;
|
|
666
|
+
}
|
|
664
667
|
return operation();
|
|
665
668
|
}
|
|
666
669
|
return result;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/driver",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.35",
|
|
4
4
|
"description": "Applitools universal framework wrapper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"applitools",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@applitools/logger": "1.1.
|
|
90
|
+
"@applitools/logger": "1.1.23",
|
|
91
91
|
"@applitools/snippets": "2.4.5",
|
|
92
|
-
"@applitools/types": "1.5.
|
|
92
|
+
"@applitools/types": "1.5.16",
|
|
93
93
|
"@applitools/utils": "1.3.12",
|
|
94
94
|
"semver": "7.3.7"
|
|
95
95
|
},
|