Skip to main content

A Python package to automatically download and manage WebDrivers for Gecko, Chrome, and Edge.

Project description

โš ๏ธ This library is currently compatible with Python versions up to 3.11.

Python 3.12+ is not supported due to requests dependency using the removed cgi module.

๐Ÿงฉ rpa-driver-downloader

rpa-driver-downloader is a lightweight Python package that automatically downloads and manages the latest WebDriver binaries (Gecko, Chromium, Edge) for browser automation using Selenium, BotCity, or any other RPA tool.

Whether you're automating browsers on Linux, Windows, or macOS, this library ensures that the required driver is downloaded and ready to use โ€” with just one line of code.


๐Ÿš€ Features

  • โœ… Automatic download of GeckoDriver, ChromeDriver, and EdgeDriver
  • ๐Ÿ“ฆ Stores drivers locally inside a /drivers/ folder
  • ๐Ÿ” Saves driver paths in settings.json for reuse
  • ๐Ÿง  Automatically detects your OS and architecture
  • ๐Ÿ”„ Returns absolute path to use with Selenium or BotCity
  • ๐Ÿงช Works well with testing and RPA environments

๐Ÿ“ฆ Installation

pip install rpa-driver-downloader

โš™๏ธ Usage

from rpa_driver_downloader import Gecko, Chromium, Edge

gecko_path = Gecko().path_for_the_driver()
chrome_path = Chromium().path_for_the_driver()
edge_path = Edge().path_for_the_driver()

Example: Using with Selenium

from selenium import webdriver
from rpa_driver_downloader import Gecko

driver = webdriver.Firefox(executable_path=Gecko().path_for_the_driver())
driver.get("https://example.com")

Example: Using with BotCity

from botcity.web import BotFirefox
from rpa_driver_downloader import Gecko

bot = BotFirefox(driver_path=Gecko().path_for_the_driver())
bot.browse("https://www.google.com")

๐ŸŒ Supported Browsers & Platforms

Browser Windows Linux macOS
Firefox โœ… โœ… โœ…
Chrome โœ… โœ… โœ…
Edge โœ… โœ… โœ…

๐Ÿ“ Project Structure

rpa-driver-downloader/
โ”œโ”€โ”€ rpa_driver_downloader/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ base.py
โ”‚   โ”œโ”€โ”€ gecko.py
โ”‚   โ”œโ”€โ”€ chromium.py
โ”‚   โ””โ”€โ”€ edge.py
โ”œโ”€โ”€ settings.json          # Created automatically
โ”œโ”€โ”€ drivers/               # Driver binaries stored here
โ”œโ”€โ”€ setup.py
โ””โ”€โ”€ README.md

๐Ÿค Contributing

Contributions, issues and feature requests are welcome! Feel free to check the issues page or submit a pull request.

๐Ÿ“„ License

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

rpa-driver-downloader is a Python package that automatically downloads and manages the latest Gecko, Chrome, and Edge WebDriver binaries. Designed for use with Selenium and RPA tools like BotCity, it detects the OS and ensures the correct driver is always available โ€” no manual download required.

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

rpa_driver_downloader-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

rpa_driver_downloader-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file rpa_driver_downloader-0.1.0.tar.gz.

File metadata

  • Download URL: rpa_driver_downloader-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for rpa_driver_downloader-0.1.0.tar.gz
Algorithm Hash digest
SHA256 38f46e5f68798bf2f9f60b9c901fbce6c5c0b86e868c5fafdec7d584fa3e4217
MD5 6b84d06961e463a0fdb8ccc85908d764
BLAKE2b-256 3be27087af8769713a0dea4527dd9bb9607aff1448beb1a67c7a1815e68cc311

See more details on using hashes here.

File details

Details for the file rpa_driver_downloader-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rpa_driver_downloader-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9b8cc5c0d1da109bc7cc2adb4f518efb94246d1e0e23bb161a0de033432204b
MD5 3f37e04cf602c601b97e5061e91c0d99
BLAKE2b-256 049552b8c814c58ab12a7511d503cccc4a994eb12fa8fc166fa1908fd9d78bf3

See more details on using hashes here.

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