selenium manager is unable to install webdriver and is throwing error as: “”raise NoSuchDriverException(msg) from err
selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for MicrosoftEdge using Selenium Manager.”” . Any help will be appreciated, I am stuck i this from very long.
Without vpn it is able to load browser and perform task successfully.
Selenium Version: 4.16
Python version: 3.10.4
Edge Version: 124.0.2478.67
My code:
from selenium import webdriver
# Initialize the Edge WebDriver with the options
driver = webdriver.Edge()
# Navigate to a website
driver.get("https://www.google.com")
# Print the title of the page
print("Title of the page:", driver.title)
# Close the browser
driver.quit()