@alek5andr/chromedriver-manager

1.4.2 • Public • Published

Chromedriver Manager

The manager installs version of chromedriver according to installed Google Chrome version.

><> Windows only <><

Requirements

  • Node.JS >= 14
    • Maybe works on lesser versions

How does it work

The package scouts devDependencies in search of "chromedriver".

  • If there are no devDependencies, the script fails.
  • If there is no "chromedriver" devDependency, it will install one according to your Google Chrome browser's version.

How to use

Install the package using npm install --save-dev @alek5andr/chromedriver-manager.
Then execute the following command in your project's terminal: install-chromedriver.

Error?

If You receive the following error:

cannot be loaded because running scripts is disabled on this system.

write a script in yours package.json to execute the following command install-chromedriver. For instance:

"scripts": {
    "sync-chromes": "install-chromedriver"
}

Then simply execute the script in the project's terminal: npm run sync-chromes.
That should do the job.

Help wanted

Please help to make it quicker.

Package Sidebar

Install

npm i @alek5andr/chromedriver-manager

Weekly Downloads

0

Version

1.4.2

License

ISC

Unpacked Size

10.6 kB

Total Files

12

Last publish

Collaborators

  • alek5andr