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:
-vor--version, the version would be downloaded.-for--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/
- chrome driver: https://npm.taobao.org/mirrors/chromedriver/
- firefox driver: https://npm.taobao.org/mirrors/geckodriver/
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| driverloader-0.1.3.tar.gz | 5.0 kB | Without provenance | Details for driverloader-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| driverloader-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for driverloader-0.1.3-py3-none-any.whl |
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
|
Security for driverloader 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.