$ cnpm install @testim/chrome-version
Finds the version of Chrome (or Chromium) that is installed on your machine.
npm install @testim/chrome-version
(async () => {
const { getChromeVersion } = require('chrome-version');
const includeChromium = false; // NOTE: set to true to also search for Chromium
const version = await getChromeVersion(includeChromium);
console.log(version);
})();
npm test
getChromeVersion
will return null.Copyright 2013 - present © cnpmjs.org