Socket
Book a DemoInstallSign in
Socket

edgedriver-autoinstaller

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edgedriver-autoinstaller

Automatically install edgedriver that supports the currently installed version of edge.

pipPyPI
Version
0.2.1
Maintainers
1

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.

Keywords

edgedriver edge selenium splinter

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts