Skip to main content

A small package to find the correct chromedriver version in windows machines

Project description

Latest ChromeDriver

The latest_chromedriver is a module for python scripts in order to find the correct version of the ChromeDriver depending on Google Chrome version.

Purpose

The purpose of this module is not to be deployed to live system like webservers or similar.

This module is intended for use in scripts that are running on different client machines, where Google Chrome could be in different versions or auto updated.

Getting Started

These instructions will get you a copy of the project up and running on your local. Currently there are three systems supported:

Example Usage

import latest_chromedriver

latest_chromedriver.safely_set_chromedriver_path()

If Google Chrome is installed in a different location:

import latest_chromedriver

latest_chromedriver.safely_set_chromedriver_path(chrome_path='/adhoc/locatation/googe-chrome')

If chromedriver needs to be installed in a different location:

import latest_chromedriver

latest_chromedriver.safely_set_chromedriver_path(chromedriver_folder='/tmp')

Prerequisites

In order to install this module you need to have:

  • Google Chrome
  • Python >= 3

Installation

Install latest-chromedriver with pip

python -m pip install latest-chromedriver

Built With

  • logzero - A simple library for easy logging (could change it to standard logging module)
  • requests - Requests is an elegant and simple HTTP library for Python, built for human beings
  • ubelt - A “utility belt” of commonly needed utility and helper functions
  • py-cpuinfo - Gets CPU info with pure Python

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

  • Charalampos Gkikas - Initial work - hargikas

License

This project is licensed under the MIT License - see the LICENSE file for details

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

latest-chromedriver-2023.8.16.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file latest-chromedriver-2023.8.16.tar.gz.

File metadata

File hashes

Hashes for latest-chromedriver-2023.8.16.tar.gz
Algorithm Hash digest
SHA256 d3b45f3035dbdb86694d898f51dcba9124250a70a05b96a97563bde0e68160c4
MD5 13fde417da5c6dc889ad3cfccc67b793
BLAKE2b-256 dceac248a71e86b0c81d598cc50a7a394922457748691c6158b76fb330c7da3d

See more details on using hashes here.

Provenance

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