In this section we are going to look at using the
findElement call that is on the WebDriver object. This is how we can normally find elements using Selenium WebDriver.
We have just seen that we can find an element by passing in the
By object. This is a static class that gives people a mechanism for finding elements, as we did earlier in the chapter. This will throw a
NoSuchElementException if it cannot find the element.
Let's now have a look at finding multiple elements.