We learnt a lot in this chapter about finding elements using the Selenium WebDriver Element.
Specifically, we covered:
- Finding elements with helper methods: We saw what is needed to get things running and finding elements on the page using Selenium WebDriver. We started with the helper methods so that we can just start finding elements. In the next section we saw how we can make them more robust.
- Finding elements in a maintainable way: In this section we learnt how to find elements in a more maintainable approach. We just need to change the argument in the method signature.
- Tips and tricks: Here we learnt how we can find an element without throwing an exception. We also had a look at waiting for elements to appear on the page. Elements can ...