Skip to main content

Checks local chrome driver version and automatically downloads the latest available version online

Project description

webdriver_auto_update

A program to check existing local chrome driver version and automatically downloads the latest available version online.

Program Functionality

  • Checks local chromedriver driver version on your computer and compares it with the latest version available online.
  • The latest online version/release will be downloaded if it does not match your local version.
  • If no local chromedriver.exe file is found in the specified folder path, it will be downloaded automatically to that particular folder.

Pre-requisites:

  1. Download Google Chrome
  2. Pip install Selenium Library

Installation

  • Make sure you have Python installed in your system.
  • Run the following to install:
pip install webdriver-auto-update

Example

# webdriver_auto_update.py
from webdriver_auto_update import check_driver

## Make sure to pass in the folder used for storing/downloading chromedriver
check_driver('folder/path/of/your/chromedriver')

Note

  • The objective of this program is to reduce redundancy of searching and downloading the updated version of chrome driver to the OpenSource community.
  • Intended to be used in Selenium projects.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webdriver_auto_update-0.0.3.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

webdriver_auto_update-0.0.3-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page