edgedriver-autoinstaller-0.2.1
توضیحات
Automatically install edgedriver that supports the currently installed version of edge.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | edgedriver-autoinstaller-0.2.1 |
| نام | edgedriver-autoinstaller |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Federico Capece |
| ایمیل نویسنده | capece.1744999@studenti.uniroma1.it |
| آدرس صفحه اصلی | https://github.com/fc-dev/python-edgedriver-autoinstaller |
| آدرس اینترنتی | https://pypi.org/project/edgedriver-autoinstaller/ |
| مجوز | MIT |
# edgedriver-autoinstaller
Automatically download and install [edgedriver](https://edgedriver.chromium.org/) that supports the currently installed version of edge. This installer supports Linux, MacOS and Windows operating systems.
## Installation
```bash
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](https://github.com/yeongbin-jo/python-chromedriver-autoinstaller)
Most of the work has been done by [yeongbin-jo](https://github.com/yeongbin-jo/), i only adapted it for Edge.
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3 | Python |
نحوه نصب
نصب پکیج whl edgedriver-autoinstaller-0.2.1:
pip install edgedriver-autoinstaller-0.2.1.whl
نصب پکیج tar.gz edgedriver-autoinstaller-0.2.1:
pip install edgedriver-autoinstaller-0.2.1.tar.gz