You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Selenium with python to perform actions in Edge browser
After visiting internal edge urls, such as "edge://favorites" or "edge://downloads", calling driver.close() does not work - nothing happens, browser is hanging there indefinitely, without any error message.
Example:
from selenium import webdriver
from selenium.webdriver.edge import service
def test_edge_close():
s = service.Service(driver_path)
edg = webdriver.Edge(service=s)
edg.switch_to.new_window('tab')
edg.get("edge://favorites")
edg.close() # script gets stuck here - no error, nothing happens