Automatically install geckodriver that supports the currently installed version of chrome.
Project description
geckodriver-autoinstaller
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 geckodriver-autoinstaller
Usage
Just type import geckodriver_autoinstaller
in the module you want to use geckodriver.
Example
from selenium import webdriver
import geckodriver_autoinstaller
geckodriver_autoinstaller.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
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
Close
Hashes for geckodriver-autoinstaller-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08953404903750a7e0905913d86eab13849c75ed61eb281c45697d9f5b5e2eb2 |
|
MD5 | 640b105ac4e7443110907ded7e8bbcad |
|
BLAKE2b-256 | c7bff7fa0998e7afeeed402f6706866eca36d6c2ebbf9447f4d425a6447552ea |
Close
Hashes for geckodriver_autoinstaller-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 609236aab9c111af10685cab1ab5551ce86b471101b6add34642545bc7e84bdc |
|
MD5 | e00046c30874c3f5aad1279cc468846c |
|
BLAKE2b-256 | 99a0527dd9b38cbb198e12ac1878a51cd86136222ffc1d131039e6286a6b57dc |