webdriver-downloader
v0.9.0
Published
[![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url] [![LinkedIn][linkedin-shield]][
Downloads
2
Readme
Webdriver downloader
About The Project
Node.js library for automatic downloading latest or selected versions of opera/chrome/firefox drivers for selenium.
Currently supported drivers:
- Opera (operadriver)
- Firefox (geckodriver)
- Chrome/Chromium (chromedriver)
Getting Started
npm i webdriver-downloader
Usage
import WebdriverDownloader from 'webdriver-downloader';
await WebdriverDownloader.firefox().download();
await WebdriverDownloader.chrome().download();
await WebdriverDownloader.opera().download();
You can also include parameters to set version of driver.
await WebdriverDownloader.chrome({ version: '88.0.4324.27' }).download();
Or set path where driver will be downloaded.
await WebdriverDownloader.chrome({ path: './drivers/' }).download();
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Jiri Fryc - @frycjiri
Project Link: https://github.com/frycjiri/webdriver-downloader