Install Firebug Firefox Portable Edition

In our last blog post, we’d explained various types of Selenium locators with useful examples. If you are just a beginner in test automation, then you must read.The next step for you is to learn about the tools that can help you in finding the locators.In today’s post, first, we are sharing the step by step instructions to install the and add-ons for Firefox.Secondly, we’ll give away some unique tricks to help you find locators on the web pages.Here is the table of content which you can use to navigate throughout the post.How to use FireBug and FirePath to find locators? What is XPath?XPath is a technique for uniquely identifying an element on a web page. It behaves like an address to an HTML element such as check boxes, text, images, links, and divs, etc. In Selenium, we treat XPath as one of the most trusted element locators.
XPath is much more than an address as it not only points to the end point, it also contains the whole map to lead to a destination. What is FireBug Add-on?Firebug is the most famous add-on for the FireFox browser. It gels with FireFox so well to bring you plenty of tools for web development. It gives you control over the document object model of the web page so that you can modify, manage, and monitor the CSS, HTML, and JavaScript in real-time. Why is the FireBug useful in Selenium automation?Usually, there are four types of operations that you do with the FireBug add-on.1- Display source – It gives you the ability to review the HTML of the web page after the JavaScript engine completes it processing.2- Highlight changes – It allows to detect and highlight (in Yellow) any HTML changes as they appear on the web page. This feature would fetch your attention instantly to make sure nothing gets missed.3- On the fly Inspection – FireBug has its “Inspect” option for quickly viewing the prospective locators as you exercise it on a web element.4- Copy HTML – You can easily copy the HTML code of the page or part of a web page using the “innerHTML” property or the XPath expression for the element. Guilherme souza nucci manual direito penal geraldo rivera. How to install FireBug in FireFox browser?FireBug is an add-on which you can easily download from the FireFox plugin store.1- Follow the menu option as Tools Web Developer Get More Tools.2- The above action will lead you to a web page as shown in the below image.

There you will find an option to download/install the FireBug add-on. You should click the “ Add to Firefox” button to begin the plugin installation. How to Use FireBug in FireFox?What is FirePath add-on?This plugin extends the capability of the FireBug add-on. It brings the options to modify, inspect and produce XPath and the CSS Selector locators. Why is the FirePath useful in Selenium automation?1- You can supply custom XPath values and test their correctness by spotlighting the effects directly on the Webpage.2- It returns the XPath of the element you’ve selected Like the Firebug add-on does. How to install FirePath in FireFox browser?We’ve told above that FirePath only extends the FireBug capabilities.
So you should install it after adding the FireBug add-on.1- It is the same process as we did for the FireBug add-on. Just go to Tools Web Developer Get More Tools.2- Search for the FirePath plugin and click on the “Add to Firefox” button. Learn to use FirePath to determine XPath.2- The FirePath plugin makes the presentation of the XPath pretty straight. You can easily copy the XPath of the selected web element. And later use the saved XPath value in the test automation project.Live Action – Installing and Using Both FireBug and FirePath in FireFox.Now, it’s time to summarize what you’ve learned from this post. We’ve brought you the animated GIF, which contains the step-by-step process of the plugin installation and the usage flow as explained in the above sections. How to use FireBug and FirePath in FireFox?Compare FireBug and FirePath.The fundamental difference between the two is that FireBug returns the Absolute XPath whereas the FirePath returns the relative path.
Check out the below examples for more clarity on the difference between the FireBug and FirePath. Though you can also tune the FirePath setting to produce the absolute XPath as well.
Firefox Portable Old Version
# Follow the below example of an absolute XPath using the FireBug Add-on.html/body/div2/div/div/aside/div5/ul/li1/a # Follow the below relative XPath expression generated by the FirePath Add-on.//.@id='category-posts-5'/ul/li2/aBest,TechBeamers.