seleniumbycharan.com
How To Handle Alerts Using Selenium WebDriver
There’s always a difficulty to handle Alerts in a Page.In that case we’ve to create a Method to handle alert and use Try and catch block.So that whenever an alert appears,it will handle…