Python Windows Authentication username and password is not working
问题 I am trying to enter data in prompt (URL Given), below codes is giving me an error. Please help me out with these? from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.keys import Keys import time driver = webdriver.Firefox() url = \"http://the-internet.herokuapp.com/basic_auth\" driver.get(url) time.sleep(5) alert = driver.switch_to.alert alert.authenticate(\'admin\',\'admin\') time.sleep(4) alert.accept() I have tried