Skip to main content

Python library that provides functionality for managing and downloading ChromeDriver

Project description

PyPI Downloads

Driverium

Driverium is a Python library that provides functionality for managing and downloading ChromeDriver for different Chrome versions.

Installation

To install Driverium, simply use pip:

pip install driverium

Usage

from driverium import Driverium
from selenium import webdriver
# Create an instance of Driverium
driverium = Driverium()

# Get the path to the ChromeDriver
driver_path = driverium.get_driver()

# Use the ChromeDriver path in your Selenium code
driver = webdriver.Chrome(driver_path)

or you can use driverium like this:

from driverium import Driverium
from selenium import webdriver

driver = webdriver.Chrome(Driverium().get_driver())

Methods

get_driver() -> str

Retrieves the path to the ChromeDriver. If the driver is not found, it will download it first.

get_driver_url() -> str

Retrieves the URL of the ChromeDriver based on the specified Chrome version.

get_new_driver() -> str

Retrieves the path to the latest version of the ChromeDriver.

get_old_driver() -> str

Retrieves the path to an older version of the ChromeDriver.

download_driver(url: str) -> str

Downloads the ChromeDriver from the specified URL and returns the path to the downloaded driver.

quiet_download(url: str) -> io.BytesIO

Downloads the file from the specified URL without displaying progress.

Contributing

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue on the GitHub repository.

License

Driverium is licensed under the MIT License. See the LICENSE file for more information.

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

driverium-1.3.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

driverium-1.3.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file driverium-1.3.0.tar.gz.

File metadata

  • Download URL: driverium-1.3.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for driverium-1.3.0.tar.gz
Algorithm Hash digest
SHA256 2fec05501a8e2e8e18ae902c7b1906d5d192a6bb5a134ec8c6a83aa8a19a3a13
MD5 b370d70b1bb2ed44ae90304c3f3c9991
BLAKE2b-256 9af1dd12fe7e251f2234d8e453b046cfd4a94626aefd3498f6731c6a2eec3aa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for driverium-1.3.0.tar.gz:

Publisher: publish.yml on d3kxrma/driverium

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file driverium-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: driverium-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for driverium-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 120e7976768eea089c30a28fcbd616d7b0d3b6e4392d13dea603394c0c735698
MD5 1bacbdeaef2d75f781d8a4b1154ba8ec
BLAKE2b-256 03023128c11db7edaa6e9812935020545be8522c7276ee7f779fce5230e83574

See more details on using hashes here.

Provenance

The following attestation bundles were made for driverium-1.3.0-py3-none-any.whl:

Publisher: publish.yml on d3kxrma/driverium

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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