Description from extension meta
A free tool to capture XPath of web elements from a webpage
Image from store
Description from store
YZ-Path: Smart XPath Generator for Web Development & Testing
YZ-Path is a powerful Chrome extension that makes capturing and testing XPath selectors effortless. Unlike other XPath tools, YZ-Path excels at generating reliable text-based XPaths even for elements without text content such as buttons, icons, and images.
Key Features:
🔍 Three XPath Formats in One Click
Absolute XPath - complete DOM path from root
Relative XPath - optimized for brevity and reliability
Text-based XPath - uses text content for stable automation
🚀 Smart Non-Text Element Detection
Our innovative algorithm finds nearby text elements to create context-aware XPaths for buttons, images, and icons that don't have their own text content.
👆 Intuitive Selection Process
Simply click the "Select Element" button, hover over any element on the page, and click to instantly capture its XPaths.
🔎 Built-in XPath Testing
Verify your XPaths directly in the browser with our search functionality that highlights all matching elements on the page.
📋 One-Click Copying
Copy any XPath type to your clipboard with a single click for immediate use in your code.
💡 Strategy Insights
See exactly which strategy was used to generate each XPath, with clear indicators and helpful descriptions.
🔄 Reset Functionality
Start fresh anytime with our convenient reset button that clears all selections.
💾 Automatic Storage
Your captured XPaths are automatically saved within your browser session for easy reference.
Perfect For:
Automation Engineers building Selenium, Cypress, or Playwright tests
QA Professionals creating reliable test scripts
Web Developers precisely targeting DOM elements
Data Scientists extracting structured web data
How to Use:
Click the YZ-Path icon in your Chrome toolbar
Click "Select Element" in the popup
Hover over an element (it will be highlighted)
Click to capture its XPaths
View, test, and copy the generated XPaths
Use the reset button when you need to start fresh
YZ-Path works on any website and requires no configuration. Just install and start capturing XPaths immediately!
Privacy Note: YZ-Path respects your privacy. All data is stored locally in your browser and is never transmitted to external servers.
Try YZ-Path today and experience the most intelligent XPath generation tool available!