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.2.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.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geckodriver-autoinstaller-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 10303a59c1864ab9719f8e0814eeadbc7a9f623a83bc01ec28cdd711db5978cd
MD5 8c9c316592160b13294e630cb6804eb5
BLAKE2b-256 bbc4984013863dcab065e9f061bd50f8dc8ccb3f66069645e79b0d1751b3481b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geckodriver_autoinstaller-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f18bafe417f06ec3f158f9bd9160f3c5d3b82d82e51f643164aa088af49f6dfa
MD5 b5eaebbb8be710977c4066d9d646bfab
BLAKE2b-256 fd14ce5decc1a1fe322aefcbb29c673a79a38574b4a149b83798d9941623beba

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