XPath Tester
9 ratings
)Overview
Write, test, and evaluate XPath queries live on any web page. A lightweight XPath console for testers and developers.
XPath Tester is a lightweight in-page console for writing, testing, and evaluating XPath queries on any web page - useful for QA engineers, web scrapers, SEO professionals, and anyone debugging selectors for automation frameworks like Selenium, Playwright, or Cypress. NOTE: This is an independent fork of the open-source xpaf project (Apache License 2.0). It is not affiliated with, endorsed by, or derived from any other XPath extension currently on the Chrome Web Store. WHAT YOU CAN DO - Generate an XPath for any element on the page by holding Shift and hovering over it. - Edit the generated query directly in the console and see matches update in real time. - View the count of matched nodes and the text content of the first match. - Move the console panel out of your way by holding Shift and mousing over it. HOW TO USE 1. Install the extension and reload any open tabs (or restart Chrome) so it can attach to existing pages. 2. Navigate to the page you want to inspect. 3. Press Ctrl+Shift+X (or Command+Shift+X on macOS) to open the XPath console at the top of the page. You can also click the toolbar icon. 4. Hold Shift and hover over any element — the query box fills with an XPath that locates that element, and the results box updates with what the query matches. 5. Edit the query in the console to refine it. Results update as you type. 6. Press the same shortcut again to close the console. TIP: When Chrome renders an HTML <table>, it inserts implicit <tbody> tags into the DOM. These will appear in the XPath even though they are not present in the source HTML - keep that in mind when copying queries into your test framework. PRIVACY This extension does not collect, store, or transmit any browsing data. All XPath evaluation runs locally in your browser. No analytics, no tracking, no remote servers. LICENSE & ATTRIBUTION Source forked from the Apache 2.0 licensed xpaf project. License notices are preserved in the source files. This build is maintained independently.
5 out of 59 ratings
Details
- Version2.0.3
- UpdatedMay 24, 2026
- Offered byAdam Sadovsky
- Size59.96KiB
- LanguagesEnglish
- Developer
Email
johnbredd1@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, please open this page on your desktop browser