Finds the version of Chrome that is installed on your machine.
npm install @testim/chrome-version
(async () => {
const { getChromeVersion } = require('chrome-version');
const version = await getChromeVersion();
console.log(version);
})();
- If no version of chrome is installed on your machine
getChromeVersion
will return null.