Skip to main content

Quick start:

Download chrome driver:

from driverloader import chrome_driver
print(chrome_driver.default)

Download firefox driver:

from driverloader import firefox_driver
print(firefox_driver.default)

The drivers would be downloaded in executor/ dir of the webdrivers package. You can find chromedriver.exe or geckodriver.exe in the dir.

Using with selenium:

from selenium.webdriver import Chrome
from driverloader import chrome_driver

browser = Chrome(chrome_driver.default)
browser.quit()

Downloading to customized path:

from driverloader import chrome_driver
driver_path = chrome_driver(path='.')

or absolute path:

import pathlib
from driverloader import chrome_driver

current_dir = pathlib.Path(__file__).parent.parent
print(chrome_driver(current_dir))

customized version:

from driverloader import chrome_driver
driver_path = chrome_driver(path='.', version='70')

command line

Using driverloader by command line like this:

driverloader chrome .
driverloader firefox .

Two arguments:

  • driver_name, chrome and firefox supported.
  • path, the path you want to save the driver.

Options:

  • -v or --version, the version would be downloaded.
  • -f or --force, force downloading if the similar driver exists

System Platform

Driverloader would download the given version according to your OS, windows, mac, linux are all OK.

Mirror URL

webdriver-downloader get the drivers from https://npm.taobao.org/mirrors/

Release files for driverloader 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for driverloader 0.1.3
File Size Uploaded
driverloader-0.1.3.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for driverloader 0.1.3
File Interpreter ABI Platform
driverloader-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / driverloader-0.1.3.tar.gz

Download URL driverloader-0.1.3.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3d01c438367080963dcef3a947c0c98d8915e505c78bbed83acfcdadaf1a4c35
BLAKE2b-256 checksum
How to use checksums
1b8eb29a34b79fdb6a1afdef64a46e0780a05d73dfbdb75cbcb27369649ee619
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.4 Windows/10

Release files / driverloader-0.1.3-py3-none-any.whl

Download URL driverloader-0.1.3-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08347b3132cf725ad432b633fb581f27f16bc520ba6f563fcc78c2a4d7ccfca0
BLAKE2b-256 checksum
How to use checksums
661643e1c423e785459b76ba177536d30303eb51b98f755c3ed2bf8116bbadc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.4 Windows/10

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.12

1 release file

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

1 release file

0.0.5

1 release file

0.0.1

1 release 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