Skip to main content

Checks local chrome driver version and automatically download 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, browser testing or web automation.

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.1.tar.gz (3.6 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page