2-Search for the FirePath plugin and click on the “Add to Firefox” button. Downloading FirePath Add-on in FireFox. 3- After clicking the add option, the FirePath installation dialog will open as shown below. Firebug development is discontinued and it does not work anymore once multi-process Firefox is enabled and clicking the Firebug button opens the Firefox DevTools instead. You can read more about this in the related Mozilla Hacks blog post. This also affects FirePath, because it doesn't work with the Firefox. When migrating from Firebug to the Firefox Developer Tools, you may wonder where the features you loved in Firebug are available in the Developer Tools. The following list aims to help Firebug users to find their way into the Developer Tools. Alternatively You can use Chrome, which like the newer Firefox, has direct Xpath support built in. The search box in the inspector supports Xpath so you can work it out in Chrome and then use it in Firefox as the resulting Xpath should be the same for both Firefox and Chrome.
Firefox Developer Tools is a set of web developer tools built into Firefox. You can use them to examine, edit, and debug HTML, CSS, and JavaScript.
This section contains detailed guides to all of the tools as well as information on how to debug Firefox for Android, how to extend DevTools, and how to debug the browser as a whole.
If you have any feedback on DevTools or want to contribute to the project, you can join the DevTools community.
Note: If you are just getting started with web development and using developer tools, our learning docs will help you — see Getting started with the Web and What are browser developer tools? for good starting points.
The Core Tools
You can open the Firefox Developer Tools from the menu by selecting Tools > Web Developer > Toggle Tools or use the keyboard shortcut Ctrl + Shift + I or F12 on Windows and Linux, or Cmd + Opt + I on macOS.
The ellipsis menu on the right-hand side of Developer Tools contains several commands that let you perform actions or change tool settings.
This button only appears when there are multiple iframes on a page. Click it to display a list of the iframes on the current page and select the one with which you want to work. |
Click this button to take a screenshot of the current page. (Note: This feature is not turned on by default and must be enabled in settings before the icon will appear.) |
Toggles Responsive Design Mode. |
Opens the menu that includes docking options, the ability to show or hide the split console, and Developer Tools settings. The menu also includes links to the documentation for Firefox Web Tools and the Mozilla Community. |
Closes the Developer Tools |
Page Inspector
View and edit page content and layout. Visualize many aspects of the page including the box model, animations, and grid layouts.
Web Console
See messages logged by a web page and interact with the page using JavaScript.
JavaScript Debugger
Stop, step through, examine, and modify the JavaScript running on a page.
Network Monitor
See the network requests made when a page is loaded.
Performance Tools
Analyze your site's general responsiveness, JavaScript, and layout performance.
Responsive Design Mode
See how your website or app will look and behave on different devices and network types.
Accessibility inspector
Provides a means to access the page's accessibility tree, allowing you to check what's missing or otherwise needs attention.
Application panel
Provides tools for inspecting and debugging modern web apps (also known as Progressive Web Apps). This includes inspection of service workers and web app manifests.
Note: The collective term for the UI inside which the DevTools all live is the Toolbox.
More Tools
These developer tools are also built into Firefox. Unlike the 'Core Tools' above, you might not use them every day.
- Memory
- Figure out which objects are keeping memory in use.
- Storage Inspector
- Inspect cookies, local storage, indexedDB, and session storage present in a page.
- DOM Property Viewer
- Inspect the page's DOM properties, functions, etc.
- Eyedropper
- Select a color from the page.
- Style Editor
- View and edit CSS styles for the current page.
- Taking screenshots
- Take a screenshot of the entire page or of a single element.
- Measure a portion of the page
- Measure a specific area of a web page.
- Rulers
- Overlay horizontal and vertical rulers on a web page
For the latest developer tools and features, try Firefox Developer Edition.
Connecting the Developer Tools
If you open the developer tools using keyboard shortcuts or the equivalent menu items, they'll target the document hosted by the currently active tab. But you can attach the tools to a variety of other targets, too, both within the current browser and in different browsers or even different devices.
- about:debugging
- Debug add-ons, content tabs, and workers running in the browser.
- Connecting to Firefox for Android
- Connect the developer tools to an instance of Firefox running on an Android device.
- Connecting to iframes
- Connect the developer tools to a specific iframe in the current page.
- Connecting to other browsers
- Connect the developer tools to Chrome on Android and Safari on iOS.
Debugging the browser
By default, the developer tools are attached to a web page or web app. But you can also connect them to the browser as a whole. This is useful for browser and add-on development.
- Browser Console
- See messages logged by the browser itself and by add-ons, and run JavaScript code in the browser's scope.
- Browser Toolbox
- Attach the Developer Tools to the browser itself.
Extending DevTools
For information on extending the Firefox DevTools, see Extending the developer tools over in the Browser Extensions section of MDN.
Migrating from Firebug
Firebug has come to the end of its lifespan (see Firebug lives on in Firefox DevTools for details of why), and we appreciate that some people will find migrating to another less familiar set of DevTools to be challenging. To ease a transition from Firebug to the Firefox developer tools, we have written a handy guide — Migrating from Firebug.
Contribute
If you want to help improve the developer tools, these resources will get you started.
- Get Involved
- Our community website explains how to get involved.
- bugs.firefox-dev.tools
- A tool helping to find bugs to work on.
FirePath addon is a Firebug extension that includes a development tool to review, edit and produce XPath 1.0 articulations, CSS 3 selectors and JQuery selectors.
This module broadens the ability of the FireBug add-on. It brings the choices to change, investigate and produce XPath and the CSS Selector locators.
You can supply custom XPath values and test their rightness by spotlighting the impacts straightforwardly on the Webpage. It restores the XPath of the component you’ve chosen as the Firebug add-on does.
We’ve told above that selenium FirePath just expands the FireBug abilities. So you should install it after adding the FireBug add-on.
Step by step instructions to Download and Install Firepath Addon
Step 1- First Install the FireBug and then Go to Tools > Web Developer > Get More Tools.
Step 2- It will open a Webpage and will show all the modules accessible for Firefox program. As I said before that it is an extension to Firebug, you have to click on the Extensions link and the type Firepath on the Search field. As we need FirePath addon, simply click on Add to Firefox button for FirePath.
Step 3- Hit on the “Install Now” button to continue.
![Firebug add on Firebug add on](/uploads/1/1/8/7/118724143/475789185.png)
Step 4- Once it is installed, it will request to restart the program. Click on the Restart Now button.
Step 5- Once it is opened, press ‘F-12′ to open Firebug tool. It will show the FirePath on the same console like this:
![Firepath For Firefox Firepath For Firefox](/uploads/1/1/8/7/118724143/183597826.jpg)
Difference between FireBug and FirePath Addon
The main contrast from an Automation tester perspective is FireBug returns Absolute XPath and FirePath returns Relative XPath.
Pros of utilizing FirePath Addon:
Firepath For Firefox Install
- Edit XPath articulations, CSS3 selectors and JQuery selectors.
- Assess the articulation/selector on any HTML or XML records.
- Show the consequence of assessments in a Firebug-like DOM tree.
- Highlight the outcomes straightforwardly on the document shown by Firefox
- Produce an XPath articulation or a CSS selector for an element by right-clicking on it and choosing “Inspect in FirePath” in the setting menu.
- Characterize the evaluation context (parent) of an articulation/selector.
- Pick the report wherein to assess the articulation/selector.
Firebug Add On
Although the FirePath Addon played an important role in order to locate selenium scripts, so, it is vital to install it first. You can follow the steps mentioned above and easily download as well as install the FirePath