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

Time for action - finding IDs of elements on the page with Firebug

In this section we are going to find a number of elements that are on the page. You will need to have Firebug installed for this. We are going to look at how to find the ID of an element using Firefox.

  1. Navigate to http://book.theautomatedtester.co.uk/chapter2 and click on the Firebug icon.
  2. Click on the Select Element icon in Firebug Time for action - finding IDs of elements on the page with Firebug.
  3. Move your mouse over the element that you wish to have a look at.
  4. Move your mouse over different elements. As you can see in the following screenshot, firebug will highlight each of the items that you want to see:

What just happened?

Once one has been ...

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