1. @testim/chrome-version
Finds the version of Chrome that is installed on your machine
@testim/chrome-version
Package: @testim/chrome-version
Created by: testimio
Last modified: Tue, 12 Sep 2023 15:49:39 GMT
Version: 1.1.4
License: MIT
Downloads: 2,280,752
Repository: https://github.com/testimio/chrome-version

Install

npm install @testim/chrome-version
yarn add @testim/chrome-version

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.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code