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
Close
Hashes for edgedriver-autoinstaller-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38c396c6eb43bc95023f02ecd76cc928cba2a318a083e946bfc2cbd2b46fa930 |
|
MD5 | eff6ff37fd5916136051744b9637366a |
|
BLAKE2b-256 | 5db3f191898f4cfaf17f4126c577d68b02221daa70f8c4e9e25ada12fcad5ec9 |
Close
Hashes for edgedriver_autoinstaller-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da6a45627764f13cf24f5c21b2a7ed0bc3fdec12ce6f7945a1eecb8c3500bdf6 |
|
MD5 | 1c351246379a736fa37a6fef8a7c4ceb |
|
BLAKE2b-256 | f98dc966a3c49e1dc7d92ae6efd36d9b8adecd5f91727bce585b7b3337cee901 |