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.jsonfor 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38f46e5f68798bf2f9f60b9c901fbce6c5c0b86e868c5fafdec7d584fa3e4217
|
|
| MD5 |
6b84d06961e463a0fdb8ccc85908d764
|
|
| BLAKE2b-256 |
3be27087af8769713a0dea4527dd9bb9607aff1448beb1a67c7a1815e68cc311
|
File details
Details for the file rpa_driver_downloader-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rpa_driver_downloader-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9b8cc5c0d1da109bc7cc2adb4f518efb94246d1e0e23bb161a0de033432204b
|
|
| MD5 |
3f37e04cf602c601b97e5061e91c0d99
|
|
| BLAKE2b-256 |
049552b8c814c58ab12a7511d503cccc4a994eb12fa8fc166fa1908fd9d78bf3
|