O'Reilly logo

Selenium 2 Testing Tools Beginner's Guide by David Burns

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required