Skip to main content

Pyderman (Selenium Web Driver Installer) Build Status

This is a fast, easy, dependency-free package that can automatically find & download the newest (or whichever you specify) version of the Google Chrome (chromedriver) or Firefox (geckodriver) web drivers.

This project was built to allow developers to seamlessly include selenium support on the user-side, without requiring any manual configuration on their part.

It is tested on Windows/Linux/Mac, and supports os-specific permissions.

To install the library, run:

pip install pyderman

Then call it in your code like so:

import pyderman as driver
path = driver.install(browser=driver.firefox)
print('Installed geckodriver driver to path: %s' % path)

There are options for the output directory, disabling printout, running chmod on the downloaded executable, automatic overwriting, executable file name, and version number. All parameters are optional, and the default values are listed below.

This example downloads the Chrome Driver instead, by changing browser like so:

import pyderman as dr
path = dr.install(browser=dr.chrome, file_directory='./lib/', verbose=True, chmod=True, overwrite=False, version=None, filename=None, return_info=False)
print('Installed chromedriver to path: %s' % path)

The download is very fast, and will skip downloading if the file already exists. This behavior can be toggled with overwrite.

Why's it called 'Pyderman'?

Because it installs web-drivers. Get it?

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyderman-1.0.1.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file pyderman-1.0.1.tar.gz.

File metadata

  • Download URL: pyderman-1.0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.6.5

File hashes

Hashes for pyderman-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2d7d2891a3a8d20841f4dfc2a50970581a49134942270e4fe0df3a87953fb177
MD5 6fa2f936636002bb3f7fa8004d43a340
BLAKE2b-256 e6014e85052300f71caa7b1fa2eda314482bce39e53cbd2cee1143fe3c35a7a4

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 Sentry Error logging StatusPage Status page