@testim/chrome-version
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -49,4 +49,8 @@ "use strict"; | ||
function getChromeVersionFromOsa() { | ||
const version = execSync('osascript -e \'tell application "Google Chrome" to get version\'').toString(); | ||
return version; | ||
try { | ||
const version = execSync('osascript -e \'tell application "Google Chrome" to get version\'').toString(); | ||
return version; | ||
} catch (err) { | ||
return null; | ||
} | ||
} | ||
@@ -53,0 +57,0 @@ |
{ | ||
"name": "@testim/chrome-version", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Finds the version of Chrome that is installed on your machine", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
16175
336