Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages