Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

node-chromedriver-downloader

gladiatortoise202ISC0.9.2TypeScript support: included

automatically download the right chromedriver version if can't be found

readme

node-chromedriver-downloader

Automatically checks Chrome version and downloads the appropriate chromedriver on runtime.

installation

npm install node-chromedriver-downloader

usage

import {ensureChromedriver} from 'node-chromedriver-downloader'

(async () => {
  var chromedriverBinaryPath = await ensureChromedriver()
})()