Selenium - User prompt of type promptUserAndPass is not supported
问题 For a long time I've been using a python bot to do some work task. Among others things, the bot has to pass an authentication window. The code of this in the python program is the following: driver = webdriver.Firefox(firefox_profile=profile) ... driver.get('https://example.com') driver.switch_to.alert.send_keys('123456' + Keys.TAB + '123456') driver.switch_to.alert.accept() But yesterday it throwed this error: selenium.common.exceptions.WebDriverException: Message: User prompt of type