There are some tools to identify the elements
1. Firebug
2. IE DebugBar
3. Google Chrome Developer Tools
Firebug: Firebug is 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 are 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
How to Install Firebug
Firebug is an Add-on for Firefox.
To Install Firebug Open https://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:
Name | Dates | |
---|---|---|
Selenium Training | Oct 19 to Nov 03 | View Details |
Selenium Training | Oct 22 to Nov 06 | View Details |
Selenium Training | Oct 26 to Nov 10 | View Details |
Selenium Training | Oct 29 to Nov 13 | View Details |
Madhuri is a Senior Content Creator at MindMajix. She has written about a range of different topics on various technologies, which include, Splunk, Tensorflow, Selenium, and CEH. She spends most of her time researching on technology, and startups. Connect with her via LinkedIn and Twitter .