Automatically install geckodriver that supports the currently installed version of Firefox.
Project description
pyautogecko
Fork of geckodriver-autoinstaller which is no longer mantained. Automatically download and install geckodriver that supports the currently installed version of firefox. This installer supports Linux, MacOS and Windows operating systems.
Installation
pip install pyautogecko
Usage
Just type import pyautogecko
in the module you want to use geckodriver.
Example
from selenium import webdriver
import pyautogecko
pyautogecko.install() # Check if the current version of geckodriver exists
# and if it doesn't exist, download it automatically,
# then add geckodriver to path
driver = webdriver.Firefox()
driver.get("http://www.python.org")
assert "Python" in driver.title
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
pyautogecko-0.1.3.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file pyautogecko-0.1.3.tar.gz
.
File metadata
- Download URL: pyautogecko-0.1.3.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34407a17283386470a63d960207f2b5f1e847d0052bce239baf190cacc20f250 |
|
MD5 | f2a3f03cfee3ef42a506403d94aec019 |
|
BLAKE2b-256 | 3fd00a6497221f32c0fdaa9cb588f30431a6da9a7b97fd870e8c92f688b0a0ea |
File details
Details for the file pyautogecko-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: pyautogecko-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fec94487558c7d26c5a27d2ade23dde76f2359c9de78793193ccb406f9144eb3 |
|
MD5 | 9ae14373c1eb29730aa412587da6557b |
|
BLAKE2b-256 | 6d781d1d279a3cd07c47aa22b5d3dd07ef54f2a755ea3987f3713070765146b7 |