@wdio/utils 9.2.8 → 9.4.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"envDetector.d.ts","sourceRoot":"","sources":["../src/envDetector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAU/C;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,YAAY,CAAC,EAAE,WAAW,CAAC,YAAY,WAqC5D;AAsJD;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,qBAAqB,EAAE,YAAY,CAAC,+BAA+B,EAAE,YAAY,EAAE,WAAW,CAAC,YAAY,WAUjI;AAoCD;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,YAAY,EAAE,WAAW,CAAC,YAAY;;;;;;;;;EAWrF;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,EACvC,YAAY,EACZ,qBAAqB,EACxB,EAAE;IACC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC;IACvC,qBAAqB,EAAE,YAAY,CAAC,+BAA+B,CAAA;CACtE;;;;;;;;;;;EAaA"}
1
+ {"version":3,"file":"envDetector.d.ts","sourceRoot":"","sources":["../src/envDetector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAU/C;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,YAAY,CAAC,EAAE,WAAW,CAAC,YAAY,WAqC5D;AAoKD;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,qBAAqB,EAAE,YAAY,CAAC,+BAA+B,EAAE,YAAY,EAAE,WAAW,CAAC,YAAY,WAUjI;AAoCD;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,YAAY,EAAE,WAAW,CAAC,YAAY;;;;;;;;;EAWrF;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,EACvC,YAAY,EACZ,qBAAqB,EACxB,EAAE;IACC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC;IACvC,qBAAqB,EAAE,YAAY,CAAC,+BAA+B,CAAA;CACtE;;;;;;;;;;;EAaA"}
package/build/index.js CHANGED
@@ -1286,6 +1286,10 @@ function isMobile(capabilities) {
1286
1286
  const browserName = (capabilities.browserName || "").toLowerCase();
1287
1287
  const bsOptions = capabilities["bstack:options"] || {};
1288
1288
  const browserstackBrowserName = (bsOptions.browserName || "").toLowerCase();
1289
+ const automationName = capabilities["appium:options"]?.automationName || capabilities["appium:automationName"];
1290
+ if (automationName && ["gecko", "safari", "chrome", "chromium"].includes(automationName.toLocaleLowerCase())) {
1291
+ return false;
1292
+ }
1289
1293
  return Boolean(
1290
1294
  /**
1291
1295
  * If the device is ios, tvos or android, the device might be mobile.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/utils",
3
- "version": "9.2.8",
3
+ "version": "9.4.2",
4
4
  "description": "A WDIO helper utility to provide several utility functions used across the project.",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-utils",
@@ -38,20 +38,20 @@
38
38
  "dependencies": {
39
39
  "@puppeteer/browsers": "^2.2.0",
40
40
  "@wdio/logger": "9.1.3",
41
- "@wdio/types": "9.2.2",
41
+ "@wdio/types": "9.4.2",
42
42
  "decamelize": "^6.0.0",
43
43
  "deepmerge-ts": "^7.0.3",
44
- "edgedriver": "^5.6.1",
45
- "geckodriver": "^4.3.3",
44
+ "edgedriver": "^6.1.1",
45
+ "geckodriver": "^5.0.0",
46
46
  "get-port": "^7.0.0",
47
47
  "import-meta-resolve": "^4.0.0",
48
48
  "locate-app": "^2.2.24",
49
- "safaridriver": "^0.1.2",
49
+ "safaridriver": "^1.0.0",
50
50
  "split2": "^4.2.0",
51
51
  "wait-port": "^1.1.0"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "f02604aee33fb785a1737db3c9092bacfc99a1f3"
56
+ "gitHead": "e42d3e8d6958fd9a734fe1d9a9768357b6045893"
57
57
  }