alert

Selenium + Python: Microsoft Edge Alert – no such alert

Selenium + Python: Microsoft Edge Alert – no such alert Question: When running a process on Selenium, I get a pop-up (which appears to be native to the Edge browser). When trying the following: browser.switch_to.alert.accept(), I get the error selenium.common.exceptions.NoAlertPresentException: Message: no such alert I’ve tried waiting some time for the pop up to appear, …

Total answers: 4

Check if any alert exists using selenium with python

Check if any alert exists using selenium with python Question: I’m trying to write a test with selenium in python language for a web page that manages users. In this page someone can add role for users and if a role exists while adding it, an alert raises. I don’t know if the alert is …

Total answers: 6