@applitools/driver 1.9.12 → 1.9.15
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/driver.js +4 -4
- package/package.json +2 -2
package/dist/driver.js
CHANGED
|
@@ -558,13 +558,13 @@ class Driver {
|
|
|
558
558
|
})
|
|
559
559
|
.then(r => { var _a; return (_a = r === null || r === void 0 ? void 0 : r.trim) === null || _a === void 0 ? void 0 : _a.call(r); })
|
|
560
560
|
.catch(() => null);
|
|
561
|
-
if (rotation === 'ROTATION_0')
|
|
561
|
+
if (rotation === 'ROTATION_0' || rotation === '0')
|
|
562
562
|
orientation = 'portrait';
|
|
563
|
-
else if (rotation === 'ROTATION_90')
|
|
563
|
+
else if (rotation === 'ROTATION_90' || rotation === '3')
|
|
564
564
|
orientation = 'landscape-secondary';
|
|
565
|
-
else if (rotation === 'ROTATION_180')
|
|
565
|
+
else if (rotation === 'ROTATION_180' || rotation === '2')
|
|
566
566
|
orientation = 'portrait-secondary';
|
|
567
|
-
else if (rotation === 'ROTATION_270')
|
|
567
|
+
else if (rotation === 'ROTATION_270' || rotation === '1')
|
|
568
568
|
orientation = 'landscape';
|
|
569
569
|
}
|
|
570
570
|
if (!orientation) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/driver",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.15",
|
|
4
4
|
"description": "Applitools universal framework wrapper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"applitools",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@applitools/logger": "1.1.
|
|
81
|
+
"@applitools/logger": "1.1.15",
|
|
82
82
|
"@applitools/snippets": "2.4.4",
|
|
83
83
|
"@applitools/types": "1.5.6",
|
|
84
84
|
"@applitools/utils": "1.3.10"
|