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.1.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.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rpa_driver_downloader-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e0354231284c4a0ce64b6c41c637904fd7e8c4073a00555ed949948a76552cd2
MD5 68549a272b214adfe3b815090d2a4b9a
BLAKE2b-256 fefe24fd86adc33761e89d12fe0222c2fc41348ee7c9496cc87efa823d72615e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rpa_driver_downloader-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb91846b278e28c9b90d4331d0ba44cc5da9cc51a0fa6ac5e1f9ed84ee669378
MD5 07939a6b25e5345a0216ff4e765303ad
BLAKE2b-256 912e72a5eaf03df05c7e7d822fbd763c16cdf8f4ac116112ab7e28e6c8f08e03

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