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 promptUserAndPass is not supported
I've been googling but I even don't find results about this kind of exception and how to deal with this problem.
Any ideas?
Thanks in advance!