Blog

Locators & How to Install Firebug - SELENIUM

Tools to identify elements/objects

There are some tools to identify the elements

1. Firebug
2. IE DebugBar
3. Google Chrome Developer Tools

Firebug: Firebug mostly used by web developers, as it allows developers to find elements on the page by using the find functionality.
IE DebugBar: This is an add-on for IE. It also has many features like Firebug.
Google Chrome Developer Tools: This is not like IE or Firefox Google chrome developer tools is built-in to the browser and will also allow you to find the elements on the page and be able to work out its XPath.

Interested in mastering Selenium Training? Enroll now for FREE demo on Selenium Training.

Firebug

Firebug is an Add-on for FireFox.
To Install Firebug Open http://getfirebug.com/in FireFox.

Click on Install Firebug

Click on the link “Firebug 1.6 for FireFox 3.6”

Click onfirebug-1.6.2.xpi
Click Allow

Click on Install Now

Get a message “Restart Firefox to complete your changes.” Click on “Restart
Firefox”
After Restarting the browser, open www.google.com
Right click on any element, we will get Inspect Element option shown below:

Click on Inspect Element, we will get locators of that element shown as below:

Related Pages:

Selenium Tutorial

Selenium Interview Questions

Selenium Sample Resumes

 


RELATED COURSES

Get Updates on Tech posts, Interview & Certification questions and training schedules