Locators & How to Install Firebug
Tools to identify elements/objects
There are some tools to identify the elements
- IE DebugBar
- 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.
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 on Install Now
Get a message “Restart Firefox to complete your changes.” Click on “Restart
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:
Enroll for Instructor Led Live Selenium Training