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.3.tar.gz (4.0 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.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geckodriver-autoinstaller-0.0.3.tar.gz
  • Upload date:
  • Size: 4.0 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.3.tar.gz
Algorithm Hash digest
SHA256 7b3cf50b4087864a340bc6204a3f486fc692cbca0867fe3c97f0c6133fd33a10
MD5 65d14f804b0012a4e98f98c8feaddf67
BLAKE2b-256 01f9a7e4cb9915fd97a1dd4b9efedb95302a5f5c6fbe8a4b5f5aa25fbe22f68d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geckodriver_autoinstaller-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ea37d0eb6b0856f5633674e00fc659160ef796f5f8422579b8b51c4b59773ace
MD5 3b33d2526ee6d81632a02df9c78baed8
BLAKE2b-256 df2a7d63431c745724becad118bf8da758a1d0a2531587e1929c6f82c0938bb0

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