ms edge selenium driver downloader
Project description
msedgedriver
Automated Microsoft Edge WebDriver management for Python.
Stop manually checking your Edge browser version and downloading the matching WebDriver. msedgedriver automatically detects your local Microsoft Edge version, fetches the exact matching WebDriver from Microsoft's official servers, and extracts it directly into your working directory so your Selenium automation scripts can run seamlessly.
Features
-
Zero-Config Automation: Automatically detects your Edge version via the Windows Registry.
-
Version Matching: Downloads the exact corresponding
msedgedriver.exebinary. -
Smart Caching: Checks your current driver version and only downloads a new one if your browser has updated.
Installation
You can install the package directly via PyPI:
pip install msedgedriver
Usage
Quick Start
To download or update your WebDriver, simply import the package and call the install() function.
import msedgedriver
# Detects your Edge version, downloads the matching driver,
# and extracts msedgedriver.exe to your current directory.
msedgedriver.install()
Example with Selenium
Here is how it looks integrated into a standard Selenium automation script:
import msedgedriver
from selenium import webdriver
from selenium.webdriver.edge.service import Service
# 1. Fetch the driver
msedgedriver.install()
# 2. Initialize Selenium using the downloaded driver
service = Service('msedgedriver.exe')
driver = webdriver.Edge(service=service)
# 3. Run your automation!
driver.get("[https://github.com](https://github.com)")
print(driver.title)
driver.quit()
System Requirements
-
OS: Windows (Relies on
winregto detect the Edge version). -
Browser: Microsoft Edge must be installed on the system.
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file msedgedriver-0.0.4.tar.gz.
File metadata
- Download URL: msedgedriver-0.0.4.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4ae5384029c6c10f681be0db73199ca12b34984f1e939d3865911db72e880af
|
|
| MD5 |
ab94eb5524b4525aabee8f3ef5855441
|
|
| BLAKE2b-256 |
d8b5f3fc9b0d26617b73ef418189ddee80a8d0e5282a9fc322b7679b16f206c9
|
File details
Details for the file msedgedriver-0.0.4-py3-none-any.whl.
File metadata
- Download URL: msedgedriver-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4104997d6b46c2442a2b51cadccdf41bd9c4975549af3f0dfce5b1e082d98868
|
|
| MD5 |
56b9c58f86cbe4fbae00a773b66b39bc
|
|
| BLAKE2b-256 |
26dbb1bc833dc6a7c604165636efe2938e8893f150d0d96a92ce509f3dd2c2ee
|