Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@testim/chrome-version

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @testim/chrome-version

Finds the version of Chrome that is installed on your machine


Version published
Maintainers
1
Created

Package description

What is @testim/chrome-version?

@testim/chrome-version is an npm package that allows you to programmatically determine the version of Google Chrome installed on your system. This can be particularly useful for automated testing, CI/CD pipelines, and other scenarios where knowing the browser version is crucial.

What are @testim/chrome-version's main functionalities?

Get Chrome Version

This feature allows you to get the installed version of Google Chrome. The code sample demonstrates how to use the package to fetch and log the Chrome version.

const chromeVersion = require('@testim/chrome-version');

chromeVersion().then(version => {
  console.log(`Chrome version: ${version}`);
}).catch(err => {
  console.error('Error fetching Chrome version:', err);
});

Other packages similar to @testim/chrome-version

Readme

Source

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.

Keywords

FAQs

Last updated on 12 Sep 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc