-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!C-pyPython BindingsPython BindingsD-edgeI-defectSomething is not working as intendedSomething is not working as intendedI-regressionSomething was working but we "fixed" itSomething was working but we "fixed" itOS-windows
Description
Description
Currently, trying to auto install the Edge driver using Selenium manager does not work. The following error occurs with the python binding.
selenium.common.exceptions.WebDriverException: Message: Unsuccessful command executed: path/to/project --browser MicrosoftEdge --language-binding python --output json; code: 65
{'code': 65, 'message': 'error sending request for url (https://msedgedriver.azureedge.net/138.0.3351.95/edgedriver_win64.zip)', 'driver_path': '', 'browser_path': ''}
This occurs because the CDN used for retrieving the Edge driver (azureedge.net) does not exist anymore. See MicrosoftEdge/EdgeWebDriver#183 for more details.
The issue can be temporarily fixed by setting the new CDN URL as a mirror (as per https://www.selenium.dev/documentation/selenium_manager/#configuration) using the environment variable SE_DRIVER_MIRROR_URL.
Here is an example to do it in python
import os
os.environ["SE_DRIVER_MIRROR_URL"] = "https://msedgedriver.microsoft.com"
Reproducible Code
from selenium import webdriver
driver = webdriver.Edge()
ℹ️ Last known working version: 4.34.2
Metadata
Metadata
Assignees
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!C-pyPython BindingsPython BindingsD-edgeI-defectSomething is not working as intendedSomething is not working as intendedI-regressionSomething was working but we "fixed" itSomething was working but we "fixed" itOS-windows