Files
EdGateAutomatedRegression/ExACTRegressionScripts/node_modules/@testim/chrome-version
2024-08-07 11:38:48 -07:00
..
2024-08-07 11:38:48 -07:00
2024-08-07 11:38:48 -07:00
2024-08-07 11:38:48 -07:00
2024-08-07 11:38:48 -07:00
2024-08-07 11:38:48 -07:00
2024-08-07 11:38:48 -07:00
2024-08-07 11:38:48 -07:00
2024-08-07 11:38:48 -07:00
2024-08-07 11:38:48 -07:00
2024-08-07 11:38:48 -07:00

chrome-version

Build Status

Finds the version of Chrome (or Chromium) that is installed on your machine.

Installation

npm install @testim/chrome-version

Use

(async () => {
    const { getChromeVersion } = require('@testim/chrome-version');
    const includeChromium = false;  // NOTE: set to true to also search for Chromium
    const version = await getChromeVersion(includeChromium);
    console.log(version);
})();

Testing

npm test
  • If no version of chrome is installed on your machine getChromeVersion will return null.