Work with browser alerts using Selenium
Browser alerts may be annoying for test automation beginners. The alert box takes the focus away from the current window and forces the browser to read the message. But Selenium WebDriver has an easy way to work with different types of browser alerts.
Learn a few different types of alerts and how to handle them with Selenium WebDriver in this video.