@applitools/driver 1.9.5 → 1.9.6

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.
Files changed (2) hide show
  1. package/dist/driver.js +3 -0
  2. package/package.json +1 -1
package/dist/driver.js CHANGED
@@ -192,6 +192,9 @@ class Driver {
192
192
  if (barsSize.navigationBarHeight < this._driverInfo.displaySize.height) {
193
193
  this._driverInfo.navigationBarHeight = Math.max((_v = this._driverInfo.navigationBarHeight) !== null && _v !== void 0 ? _v : 0, barsSize.navigationBarHeight);
194
194
  }
195
+ else {
196
+ this._driverInfo.navigationBarHeight = 0;
197
+ }
195
198
  // bar heights have to be scaled on android
196
199
  (_5 = this._driverInfo).statusBarHeight && (_5.statusBarHeight = this._driverInfo.statusBarHeight / this.pixelRatio);
197
200
  (_6 = this._driverInfo).navigationBarHeight && (_6.navigationBarHeight = this._driverInfo.navigationBarHeight / this.pixelRatio);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/driver",
3
- "version": "1.9.5",
3
+ "version": "1.9.6",
4
4
  "description": "Applitools universal framework wrapper",
5
5
  "keywords": [
6
6
  "applitools",