Skip to main content

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

geckodriver-autoinstaller-0.0.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

geckodriver_autoinstaller-0.0.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file geckodriver-autoinstaller-0.0.1.tar.gz.

File metadata

  • Download URL: geckodriver-autoinstaller-0.0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.0

File hashes

Hashes for geckodriver-autoinstaller-0.0.1.tar.gz
Algorithm Hash digest
SHA256 df1a4dfcd38b7d400e8f5e6e06b1a9dc7f4a2fa0b5aba8a878c174dc21faa47e
MD5 9474855fa45ca6bb2e325b98b9e3a389
BLAKE2b-256 270049b2df06114776aed288a3cb266a3c40e378b4a9c1f5814419fdb1346bfb

See more details on using hashes here.

File details

Details for the file geckodriver_autoinstaller-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: geckodriver_autoinstaller-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.0

File hashes

Hashes for geckodriver_autoinstaller-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 142438d33d6a76dbaf0cd79876903a09808fb058f39deef41e2eec74b19fbc5b
MD5 2bc97a668e97b73db099525bb248f2a2
BLAKE2b-256 ae94080da388dcf74e60998558c625d3b2622700ac0470f5c8f9d291b2c6b317

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