Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

Selenium capture webpage exceptions/errors?


I am using Selenium with C# and NUnit to make a test structure for a web application stage.

The stage can toss special case if something turns out badly.

I am pondering that is there a route for program/page to advise Selenium that a special case is tossed so I can utilize selenium to catch and record the exemption as opposed to keeping Selenium checking site page and js reassure?