@perfsee/chrome-finder
TypeScript icon, indicating that this package has built-in type declarations

1.13.0 • Public • Published

@perfsee/chrome-finder

Find local installed Google Chrome(Chromium) executable path or download it.

Usage

const { findChrome } = require('chrome-finder');

findChrome(({ executablePath, browser }) => {
  // absolute path to the chrome executable
  console.log(executablePath)
  // result of `chrome --version`, e.g. `Google Chrome xx.xx.xx.xx`
  console.log(browser)
})

Credits

This package is a fork of mbalabash/find-chrome-bin which only works with node>=16 (specified in engines)

Readme

Keywords

none

Package Sidebar

Install

npm i @perfsee/chrome-finder

Weekly Downloads

2

Version

1.13.0

License

Apache-2.0

Unpacked Size

36 kB

Total Files

21

Last publish

Collaborators

  • domonji
  • eyhn
  • bytednpm
  • forehalo
  • jianling