We have had a look at using helper methods to find elements on the page. The downside to using them is that if something changes, you need to change the entire method that you are using to find the element. This can increase the maintenance costs for doing this.
The other approach is to use the
findElement() method, pass in the
By abstract class, and call static methods on that class.
Let's see this in action.