Handling different types of alerts & user authentication in selenium
Alerts are basically popup box/window that takes the focus away from the current browser screen and forces you to read the alert message and do some action.Once you take any action (accept or dismiss), it allows to resume performing the task on browser. There are basically 3 types of alertsAlert box, Confirm box, and Prompt…