Automatically install edgedriver that supports the currently installed version of edge.
Project description
edgedriver-autoinstaller
Automatically download and install edgedriver that supports the currently installed version of edge. This installer supports Linux, MacOS and Windows operating systems.
Installation
pip install edgedriver-autoinstaller
Usage
Just type import edgedriver_autoinstaller
in the module you want to use edgedriver.
Example
from selenium import webdriver
import edgedriver_autoinstaller
edgedriver_autoinstaller.install() # Check if the current version of edgedriver exists
# and if it doesn't exist, download it automatically,
# then add edgedriver to path
driver = webdriver.Edge(executable_path="msedgedriver.exe")
driver.get("http://www.python.org")
assert "Python" in driver.title
Note
Forked from: python-chromedriver-autoinstaller
Most of the work has been done by yeongbin-jo, i only adapted it for Edge.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file edgedriver-autoinstaller-0.2.1.tar.gz
.
File metadata
- Download URL: edgedriver-autoinstaller-0.2.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38c396c6eb43bc95023f02ecd76cc928cba2a318a083e946bfc2cbd2b46fa930 |
|
MD5 | eff6ff37fd5916136051744b9637366a |
|
BLAKE2b-256 | 5db3f191898f4cfaf17f4126c577d68b02221daa70f8c4e9e25ada12fcad5ec9 |
File details
Details for the file edgedriver_autoinstaller-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: edgedriver_autoinstaller-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da6a45627764f13cf24f5c21b2a7ed0bc3fdec12ce6f7945a1eecb8c3500bdf6 |
|
MD5 | 1c351246379a736fa37a6fef8a7c4ceb |
|
BLAKE2b-256 | f98dc966a3c49e1dc7d92ae6efd36d9b8adecd5f91727bce585b7b3337cee901 |