@wdio/utils 9.0.5 → 9.0.8

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;AAS/C;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,YAAY,CAAC,EAAE,WAAW,CAAC,YAAY,WAqC5D;AAgJD;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,YAAY,CAAC,EAAE,WAAW,CAAC,YAAY,WAM7D;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;AAS/C;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,YAAY,CAAC,EAAE,WAAW,CAAC,YAAY,WAqC5D;AAkJD;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,YAAY,CAAC,EAAE,WAAW,CAAC,YAAY,WAM7D;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
@@ -1751,7 +1751,9 @@ function isChrome2(capabilities) {
1751
1751
  if (!capabilities) {
1752
1752
  return false;
1753
1753
  }
1754
- return Boolean(capabilities["goog:chromeOptions"] && capabilities.browserName === "chrome");
1754
+ return Boolean(
1755
+ capabilities["goog:chromeOptions"] && (capabilities.browserName === "chrome" || capabilities.browserName === "chrome-headless-shell")
1756
+ );
1755
1757
  }
1756
1758
  function isEdge2(capabilities) {
1757
1759
  if (!capabilities) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/utils",
3
- "version": "9.0.5",
3
+ "version": "9.0.8",
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",
@@ -19,7 +19,7 @@
19
19
  "types": "./build/index.d.ts",
20
20
  "typeScriptVersion": "3.8.3",
21
21
  "engines": {
22
- "node": ">=18"
22
+ "node": ">=18.20.0"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@puppeteer/browsers": "^2.2.0",
40
- "@wdio/logger": "9.0.4",
41
- "@wdio/types": "9.0.4",
40
+ "@wdio/logger": "9.0.8",
41
+ "@wdio/types": "9.0.8",
42
42
  "decamelize": "^6.0.0",
43
43
  "deepmerge-ts": "^7.0.3",
44
44
  "edgedriver": "^5.6.1",
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "5ec4340e8caa435212cf4aede2c12dcc662459a4"
56
+ "gitHead": "cc85ebf08918965cff46ce7e014703549b7f50d7"
57
57
  }