Skip to main content

chromedriver-binary-sync

Software Version MIT License

Japanese Page

Overview

Sync chromedriver version with the installed chrome version at runtime.

  • Download the version of chromedriver to match chrome at runtime.
  • Internally, the function of chromedriver-binary-auto is used.
    • It matches the version at install time.

Requirements

  • chromedriver-binary-auto

License

MIT License

OSS used

Installation

pip

pip install chromedriver-binary-sync

github

pip install git+https://github.com/bugph0bia/chromedriver-binary-sync.git

Usage

from selenium import webdriver
import chromedriver_binary_sync


# Download chromedriver to current directory.
# (chromedriver version matches installed chrome)
chromedriver_binary_sync.download()

driver = webdriver.Chrome()
driver.get("http://www.python.org")
assert "Python" in driver.title

Note

The path to chromedriver is not automatically added to the "PATH" environment variable, so it is necessary to pass the path to the chromedriver download destination in addition to the current directory.

Case: Download to other than the current directory

chromedriver_binary_sync.download(download_dir='...')

Case: To match a portable version of Chrome (For Windows)

chromedriver_binary_sync.download(chrome_portable=r'...\GoogleChromePortable\App\Chrome-bin\chrome.exe')

Metadata

Release files for chromedriver-binary-sync 0.2.2

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

Built distribution (wheel)

Table of built distributions (wheels) for chromedriver-binary-sync 0.2.2
File Interpreter ABI Platform Actions
chromedriver_binary_sync-0.2.2-py3-none-any.whl Python 3 none any Details for chromedriver_binary_sync-0.2.2-py3-none-any.whl

Release files / chromedriver_binary_sync-0.2.2-py3-none-any.whl

Download URL chromedriver_binary_sync-0.2.2-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58fd481a2a53f60142056c19cd121bca86a17787df61cae46bb74c99a6f31ee8
BLAKE2b-256 checksum
How to use checksums
e1683ed693b6e6fd3e99937c4cbf3c189fe9200eb04d68881c891d23ab9a7e42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Security for chromedriver-binary-sync 0.2.2

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