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

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin