Skip to main content

PyPI version License: MIT Downloads LinkedIn

ChromeFetcher

ChromeFetcher automates the process of fetching Chrome or ChromeDriver based on the operating system and architecture. It simplifies the task of downloading the appropriate version for your system.

Installation

To install ChromeFetcher, use pip:

pip install ChromeFetcher

Usage

Easily download ChromeDriver with:

from ChromeFetcher.chrome_fetcher import fetch_chrome

fetch_chrome(product='chromedriver')

Specify product as 'chrome' or 'chromedriver' to download. Options allow unzipping and cleanup post-download.

The fetch_chrome function offers a comprehensive approach to automatically downloading Chrome or ChromeDriver based on the user's operating system and architecture, streamlining the setup process for web automation tasks. Here's an overview of all the parameters available in this function:

  • channel (default='Stable'): This parameter allows users to specify the release channel of Chrome they wish to download. The default is set to 'Stable', but users can select other channels like 'Beta' or 'Dev' depending on their requirements.

  • product (default='chrome'): Determines whether to download Chrome or ChromeDriver. By setting this parameter to 'chrome', the function will download the browser. If set to 'chromedriver', it will fetch the driver needed for automation.

  • download_path (default=os.getcwd()): Specifies the directory where the downloaded file will be saved. By default, it uses the current working directory. Users can provide a custom path to suit their project structure.

  • unzip (default=True): A boolean parameter that, when set to True, automatically extracts the contents of the downloaded ZIP file. If False, the function leaves the ZIP file as is.

  • delete_zip (default=True): This parameter works in tandem with the unzip option. When set to True, it deletes the ZIP file after extraction to save space and keep the directory tidy. If unzip is False, this parameter has no effect.

Features

  • Automatically fetches Chrome or ChromeDriver.
  • Supports different OS and architectures.
  • Unzips and cleans up downloads optionally.

Contributing

Contributions, issues, and feature requests are welcome! Check our issues page.

License

Licensed under the MIT License.

Metadata

Release files for ChromeFetcher 2025.5.131906

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ChromeFetcher 2025.5.131906
File Size Uploaded Provenance Actions
chromefetcher-2025.5.131906.tar.gz 4.5 kB Without provenance Details for chromefetcher-2025.5.131906.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ChromeFetcher 2025.5.131906
File Interpreter ABI Platform Actions
chromefetcher-2025.5.131906-py3-none-any.whl Python 3 none any Details for chromefetcher-2025.5.131906-py3-none-any.whl

Total release size: 9.8 kB

Release files / chromefetcher-2025.5.131906.tar.gz

Download URL chromefetcher-2025.5.131906.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d485fd3b760b252605d54bad27c62bf3de9e9debf4c7ad6546ca4dc74b62dc76
BLAKE2b-256 checksum
How to use checksums
f8d63bb61bfbcc661c2945a9a9a0a685775c18a76b4e76a591f6a70fc839f0fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.11

Release files / chromefetcher-2025.5.131906-py3-none-any.whl

Download URL chromefetcher-2025.5.131906-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2a788092f281f7ac65fe7f9016f543523a3be1f49448b7dc49706043ddb6008
BLAKE2b-256 checksum
How to use checksums
f8498d6ff8acef4e9df4e607f890b8af9043c4cb774ddf56da4197360fa60a7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.11

Security for ChromeFetcher 2025.5.131906

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page