@applitools/driver 1.10.2 → 1.10.3

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 -3
  2. package/package.json +1 -1
package/dist/driver.js CHANGED
@@ -120,8 +120,8 @@ class Driver {
120
120
  return (_b = (!this.isWebView && ((_a = this._driverInfo) === null || _a === void 0 ? void 0 : _a.isNative))) !== null && _b !== void 0 ? _b : false;
121
121
  }
122
122
  get isWebView() {
123
- var _a, _b;
124
- return (_b = (_a = this._driverInfo) === null || _a === void 0 ? void 0 : _a.isWebView) !== null && _b !== void 0 ? _b : false;
123
+ var _a, _b, _c;
124
+ return (_c = (((_a = this._driverInfo) === null || _a === void 0 ? void 0 : _a.isNative) && ((_b = this._driverInfo) === null || _b === void 0 ? void 0 : _b.isWebView))) !== null && _c !== void 0 ? _c : false;
125
125
  }
126
126
  get isWeb() {
127
127
  return this.isWebView || !this.isNative;
@@ -352,7 +352,7 @@ class Driver {
352
352
  home: origin,
353
353
  next,
354
354
  isNative: currentWorld === origin,
355
- isWebView: currentWorld !== origin && currentWorld !== 'CHROMIUM',
355
+ isWebView: currentWorld !== origin,
356
356
  };
357
357
  this._logger.log('current world', result);
358
358
  return result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/driver",
3
- "version": "1.10.2",
3
+ "version": "1.10.3",
4
4
  "description": "Applitools universal framework wrapper",
5
5
  "keywords": [
6
6
  "applitools",