Recommended Free Tools
iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Firefox does not ship a separate tool called “XPath Finder.” XPath searching is built into Firefox Developer Tools in two places: the Inspector’s search box, which accepts XPath expressions, and the Web Console’s $x() helper, which evaluates one and returns the matching nodes. This guide shows how to use both, when each one is the better choice, and what to check when an expression returns nothing.
What “XPath Finder” means in Firefox
XPath is a query language for selecting elements in a page’s document structure. Firefox’s Developer Tools accept XPath in two ways, and both are documented in Mozilla’s official DevTools documentation. If you searched for an “XPath Finder” add-on or a separate Firefox menu item, you will not find one; the built-in features below cover the same task.
Method 1: Search by XPath in the Inspector
The Inspector shows the page’s markup and lets you move between matching elements. Its search box performs full-text, CSS-selector, and XPath searches, so the same box can take an XPath expression.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minute- Open Developer Tools. Use the Web Developer menu, or press
F12orCtrl+Shift+Ion Windows or Linux, orCmd+Opt+Ion macOS. - Select the Inspector tab.
- Click the Inspector’s search box, or press
Ctrl+F(Windows/Linux) orCmd+F(macOS) to focus it. - Type an XPath expression. For example,
//aselects every anchor element. - Press
Enterto select the first match. Keep pressingEnterto move forward through the matches, or pressShift+Enterto move backward.
Be aware that an XPath search matches elements, not text. //a finds <a> elements; it does not find the letter “a” in the page’s text. If you want to find words on the page, use the Inspector’s plain text search instead.
#1 Best Overall
Method 2: Evaluate XPath with $x() in the Web Console
The Web Console is better when you want to test an expression and work with what it returns, rather than browse the matches in the markup.
- Open Developer Tools and select the Console tab.
- Enter an expression such as
$x("//a")and pressEnter. The helper returns the matching nodes as an array. - To limit the search to part of the page, pass a context element as the second argument. The syntax is
$x(xpath, element, resultType). If you omit the element, the search starts fromdocument. - To request a specific XPath result type, pass it as the third argument. The documented values are
number,string,bool,node, andnodes. If you omit it, the helper usesANY_TYPE.
Because the helper returns an array, you can inspect the results directly in the console, for example by checking how many nodes matched or by examining the first one.
Rank #2
- 【Efficiency】This is a perfect shortcut sticker, it contains a list of shortcuts for a lot of operating systems. Laptop Shortcuts Stickers allow you to save time and effort by eliminating the need to search online or memorize complex commands at any time to improve your productivity.
- 【Durable Materials】Crafted from durable PVC material, these shortcut keyboard stickers are waterproof, oil-resistant, and tear-resistant. They withstand wear and tear, ensuring longevity without fading or smudging even with prolonged use. The self-adhesive backing facilitates easy replacement and residue-free removal.
- 【Compatible】L*W: 3.34 x 2.36 in, Word/Excel Shortcuts Stickers are suitable for 14" and smaller laptops, compatible and fit most brand laptops or desktops running operating system.
- 【How to Use】Avoid dust and contact with adhesives. Peel and fold the backing paper in half and gradually apply the sticker, squeezing out the air as you go. It can be completed in a few minutes.
- 【Suitable for the Crowd】Whether you're a beginner or a seasoned computer professional, you can easily take your computer proficiency to the next level with our handy and affordable stickers. Also a great gift for kids, girls, teens, friends even colleagues.
Which method to use
| Task | Inspector search | $x() in the Web Console |
|---|---|---|
| Where you work | Markup panel, with matches highlighted in place | Console prompt, returning an array |
| Moving between matches | Yes: Enter and Shift+Enter |
Not a navigation tool; you work with the returned array |
| Limiting the search to a subtree | Not described in the documentation | Yes, by passing a context element |
| Choosing the XPath result type | Not described in the documentation | Yes, through the third argument |
| Best for | Finding and inspecting elements on the page | Testing an expression and using its results |
In practice, start an expression in the Console to confirm it selects what you expect, then use the Inspector to step through the matching elements on the page.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Expressions to try first
//aselects all anchor elements, as used in Mozilla’s example.//button[text()="Save"]selects button elements whose text is exactly “Save” (a standard XPath predicate).//input[@type="email"]selects input elements with the type attribute set to “email”.
When an expression returns no matches
- Check that the expression starts with the right axis.
//searches the whole document, while/starts at the root and expects an exact path. - Check the element name and attribute spelling. XPath matching is case-sensitive for element and attribute names in HTML documents as parsed by the browser.
- If you passed a context element to
$x(), confirm that the element is the one you intended. A path that works fromdocumentmay not match from a narrower element. - If the element you need is inside a frame or is added after the page loads, run the expression again once the content is present.
Each of these checks is a common cause rather than a Firefox-specific bug, so start with the expression itself before assuming the tool is at fault.
Quick Recap
Best Value
- 【Package Contents】You will receive two colorful windows shortcuts cheat sheet with a black background. Each sticker measures 3.54 × 2.95 inches (9 × 7.5 cm), perfect for common keyboards
- 【Quality Materials】Our keyboard shortcut sticker is made of high-quality plastic, ensuring each sticker is durable, waterproof, and resistant to wear, remaining clearly visible even after prolonged use
- 【Easy Installation】These windows shortcuts are designed for ease of use. The high-quality adhesive on the back ensures a secure fit; simply place them in a visible location for easy application
- 【Convenient and Practical】This version of asterisk keyboard shortcut overlay provides clear and intuitive shortcut illustrations, helping you quickly master Windows operating system shortcuts
- 【Convenient and Practical】Widely Applicable: Whether you are a student, professional, or designer, these computer shortcuts cheat sheet are not only suitable for Windows operating systems but also meet the needs of most office software
Rank #4
- 💻 ✔️ EVERY ESSENTIAL SHORTCUT - With the SYNERLOGIC Reference Keyboard Shortcut Sticker, you have the most important shortcuts conveniently placed right in front of you. Easily learn new shortcuts and always be able to quickly lookup commands without the need to “Google” it.
- 💻 ✔️ Work FASTER and SMARTER - Quick tips at your fingertips! This tool makes it easy to learn how to use your computer much faster and makes your workflow increase exponentially. It’s perfect for any age or skill level, students or seniors, at home, or in the office.
- 💻 ✔️ New adhesive – stronger hold. It may leave a light residue when removed, but this wipes off easily with a soft cloth and warm, soapy water. Fewer air bubbles – for the smoothest finish, don’t peel off the entire backing at once. Instead, fold back a small section, line it up, and press gradually as you peel more. The “peel-and-stick-all-at-once” method only works for thin decals, not for stickers like ours.
- 💻 ✔️ Compatible and fits any brand laptop or desktop running Windows 10 or 11 Operating System.
- 💻 ✔️ Original Design and Production by Synerlogic LLC, San Diego, CA, Boca Raton, FL and Bay City, MI, United States 2025. All rights reserved, any commercial reproduction without permission is punishable by all applicable laws.
Rank #3
“
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

