Question - What is meant by an exception test in Selenium?
Answer -
An exception test is a test that expects an exception to be thrown inside a test class. It expects a @Test annotation followed by the expected exception name in the brackets.
Eg: @Test(expectedException = NoSuchElementException.class) is an exception test for missing elements in Selenium.