@applitools/driver 1.11.45 → 1.11.47

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 +3 -3
package/dist/driver.js CHANGED
@@ -237,11 +237,11 @@ class Driver {
237
237
  this._environment.isAndroid = /Android/i.test(this._environment.platformName);
238
238
  this._environment.isIOS = /iOS/i.test(this._environment.platformName);
239
239
  }
240
- if (!this._environment.isMobile &&
240
+ if ((this._environment.isAndroid || this._environment.isIOS) &&
241
241
  this._environment.isWeb &&
242
- (this._environment.isAndroid || this._environment.isIOS)) {
242
+ !this._environment.isMobile) {
243
243
  this._environment.isMobile = true;
244
- this._environment.isEmulation = this._environment.isChromium;
244
+ this._environment.isEmulation = true;
245
245
  }
246
246
  this._environment.isEC =
247
247
  this._environment.isECClient || /exec-wus.applitools.com/.test((_d = (await this.getDriverUrl())) !== null && _d !== void 0 ? _d : '');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/driver",
3
- "version": "1.11.45",
3
+ "version": "1.11.47",
4
4
  "description": "Applitools universal framework wrapper",
5
5
  "keywords": [
6
6
  "applitools",
@@ -81,9 +81,9 @@
81
81
  "postversion": "bongo postversion"
82
82
  },
83
83
  "dependencies": {
84
- "@applitools/logger": "1.1.51",
84
+ "@applitools/logger": "1.1.52",
85
85
  "@applitools/snippets": "2.4.19",
86
- "@applitools/utils": "1.3.34",
86
+ "@applitools/utils": "1.3.35",
87
87
  "semver": "7.3.7"
88
88
  },
89
89
  "devDependencies": {