Skip to main content

Pyderman (Selenium Web Driver Installer) Build Status

This is a fast, simple, dependency-free package that can automatically find & download any version of the Google Chrome (chromedriver), Firefox (geckodriver), and Opera (operadriver) 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 will automatically locate the correct driver binary for the platform & version you choose, as well as setting the os-specific permissions after downloading.

It is tested daily on Windows/Linux/macOS against Python versions 3.5+.

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.2.0.tar.gz (5.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pyderman-1.2.0.tar.gz
  • Upload date:
  • Size: 5.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 f24b83c20709df5820fac3efa17e6cb05626ae728cb0efe9fde08414dfd36caa
MD5 0e16ea4e3f3d3c1a47c30d521215bc03
BLAKE2b-256 4938e80d626ac58b3627fcb2eb081225a20fcfae83c0b74f5d122c03d1a3c52a

See more details on using hashes here.

Release history Release notifications | RSS feed

3.3.2

2 files

3.3.1

2 files

3.3.0

2 files

3.2.1

2 files

3.2.0

2 files

3.1.0

2 files

3.0.0

1 file

2.0.2

1 file

2.0.1

1 file

2.0.0

1 file

1.3.0

1 file

This release

1.2.0 This release

1 file

1.0.1

1 file

1.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page