Skip to main content

Download or update your Selenium driver binaries and their browsers automatically with this package

Project description

selenium_driver_updater

PyPI version MIT License Downloads Downloads Downloads Donate with Bitcoin Donate with Ethereum

Windows macOS

It is a fast and convenience package that can automatically download or update Selenium webdriver binaries and their browsers for different OS.

Installation

Use the package manager pip to install selenium_driver_updater.

pip install selenium-driver-updater

Usage

This example shows how you can use this library to download chromedriver binary.

from selenium_driver_updater import DriverUpdater
import os
base_dir = os.path.dirname(os.path.abspath(__file__))

result, message, filename = DriverUpdater.install(path=base_dir, driver_name=DriverUpdater.chromedriver, upgrade=True, check_driver_is_up_to_date=True)
print(filename)

Supported Selenium Binaries

Chromedriver (DriverUpdater.chromedriver)

  • Windows
  • Linux
  • MacOS
  • MacOS with M1

Geckodriver (DriverUpdater.geckodriver)

  • Windows
  • Linux
  • MacOS
  • MacOS with M1

Operadriver (DriverUpdater.operadriver)

  • Windows
  • Linux
  • MacOS

Edgedriver (DriverUpdater.edgedriver)

  • Windows
  • Linux
  • MacOS
  • ARM

Supported browsers for updates

Chrome Browser

  • Windows
  • MacOS

Firefox Browser

  • Windows
  • MacOS

Opera Browser

  • Windows
  • MacOS

Edge Browser

  • Windows
  • MacOS

Project details


Release history Release notifications | RSS feed

This version

2.7.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

selenium_driver_updater-2.7.0.tar.gz (20.2 kB view details)

Uploaded Source

File details

Details for the file selenium_driver_updater-2.7.0.tar.gz.

File metadata

  • Download URL: selenium_driver_updater-2.7.0.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for selenium_driver_updater-2.7.0.tar.gz
Algorithm Hash digest
SHA256 61c129b871f933fa5e55446f4d096a10da76ce7aeee41ad620c564af7849cc9f
MD5 d758d33383e1b79eaa29df64ae242e78
BLAKE2b-256 ea0dd574168715cb423a21f270cff70e343e4baaf5b9f06e3acd6a9291fb1385

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