Alert Exception in Selenium & C#

Alert exception occurs whenever a alert occurs for which we have not coded in selenium to accept the alert (or) Sometimes alerts also occurs due to invalid input

The Alert Exception in C# can be handled by making the Driver to accept or ignore the alert when the Driver is initialized

You may also like...