In this chapter, we will have a look at some of the more common exceptions that you may see when working with Selenium. While we look at them we will explore some of the possible causes of these exceptions. Finally we will provide some pointers, that will help you to fix your test code when you see them.
So first of all, what is an oracle? An oracle was traditionally seen as a portal that the gods used to talk to people. As with anything, there are various definitions in use. To be clear about what an oracle is in the context of this book, we are going to use the following definition:
"A statement believed to be infallible and authoritative"
Like an oracle, an exception is an infallible ...