Skip to content

celedev97/python-edgedriver-autoinstaller

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

The edgedriver auto installer for distribution.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%