@applitools/driver 1.6.0 → 1.6.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/dist/driver.js +4 -1
- package/package.json +2 -2
package/dist/driver.js
CHANGED
|
@@ -385,7 +385,10 @@ class Driver {
|
|
|
385
385
|
const safeRegion = this.isIOS && !shouldIgnoreSafeRegion
|
|
386
386
|
? utils.geometry.intersect(scaledRegion, this._driverInfo.safeArea)
|
|
387
387
|
: scaledRegion;
|
|
388
|
-
const offsetRegion = utils.geometry.offsetNegative(safeRegion, {
|
|
388
|
+
const offsetRegion = utils.geometry.offsetNegative(safeRegion, {
|
|
389
|
+
x: this.isAndroid && this.orientation === 'landscape' && this.platformVersion > 7 ? this.navigationBarHeight : 0,
|
|
390
|
+
y: this.statusBarHeight,
|
|
391
|
+
});
|
|
389
392
|
if (offsetRegion.y < 0) {
|
|
390
393
|
offsetRegion.height += offsetRegion.y;
|
|
391
394
|
offsetRegion.y = 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/driver",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Applitools universal framework wrapper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"applitools",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@applitools/utils": "1.2.13"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@applitools/bongo": "^2.0.
|
|
81
|
+
"@applitools/bongo": "^2.0.1",
|
|
82
82
|
"@types/mocha": "^9.0.0",
|
|
83
83
|
"@types/node": "^16.3.3",
|
|
84
84
|
"@typescript-eslint/eslint-plugin": "^4.28.3",
|