In Selenium WebDriver, there are three major sorts of exceptions: Checked Exceptions: These exceptions can be dealt with during the compilation process. If they aren’t handled, a compile-time error occurs. Examples include FileNotFoundException, IOException, and other similar exceptions.  Unchecked Exceptions: These exceptions were caught at run time because they couldn’t be handled during build time. An ArrayIndexOutOfBoundException is an example of an exception that occurs when the index of an array is out of bounds. Errors: Errors that even the try-catch block can’t manage. An assertion error is a good example.