@wdio/utils
Advanced tools
Comparing version 8.16.12 to 8.16.14
@@ -42,3 +42,7 @@ import os from 'node:os'; | ||
const versionString = cp.execSync(`"${chromePath}" --version --no-sandbox`).toString(); | ||
return versionString.trim().split(' ').pop()?.trim(); | ||
const versionSanitized = versionString.trim().split(' ').find((s) => s.split('.').length === 4); | ||
if (!versionSanitized) { | ||
throw new Error(`Couldn't find valid Chrome version from "${versionString}", please raise an issue in the WebdriverIO project (https://github.com/webdriverio/webdriverio/issues/new/choose)`); | ||
} | ||
return versionSanitized; | ||
} | ||
@@ -45,0 +49,0 @@ export async function getBuildIdByFirefoxPath(firefoxPath) { |
{ | ||
"name": "@wdio/utils", | ||
"version": "8.16.12", | ||
"version": "8.16.14", | ||
"description": "A WDIO helper utility to provide several utility functions used across the project.", | ||
@@ -51,3 +51,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
}, | ||
"gitHead": "6a010586db579a5019b490172f8ffc3939c9e852" | ||
"gitHead": "b74f21bcf2a05efbf3c23a67e20bcb63db2620b6" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
150444
3115