I want to know about no alert presnt exception?
The WebDriver Exception NoAlertPresentException happens when the driver in the Selenium Program code is unable to locate the Alert on the web page to switch. When the driver switches to an invalid or non-existent Alert pop-up, for example. To operate with Alarm pop-ups, first switch to Alert and then do operations on Alert, such as reading the contents on the Alerts or accepting the alert by pressing the ‘OK’ button on the alert, among other things. As a result, if you switch to an invalid or non-existing Alert pop-up, NoAlertPresentException will occur.