@alek5andr/chromedriver-manager
v1.4.2
Published
The manager installs version of chromedriver according to installed Google Chrome version.
Downloads
20
Maintainers
Readme
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.