LetXPath: Your Ultimate XPath & CSS Selector Finder
LetXPath is an open-source project designed to help you find XPath and CSS selectors with a single click, complete with code snippets tailored to the element type.
- Install the Extension: After installation, restart your browser.
- Navigate to the Desired Page: Open the page from which you want to extract XPath.
- Open DevTools: Click on the inspect window or press
F12
(FunctionF12
). - Access LetXPath: Open the LetXPath menu from the sidebar panel.
- Get Your XPath: Click on the desired element to obtain its XPath.
- Single-Click XPath: Obtain the best XPath with just one click.
- Smart XPath Generation: Generates XPaths based on direct elements or parent-child relationships.
- Dynamic XPaths: Supports dynamic XPaths, including relationships like
following
,following-sibling
,preceding
, andpreceding-sibling
. - Axis-Based XPaths: Creates XPaths based on axes.
- User-Enhanced Axes: Allows enhanced axes XPaths through user selection.
- XPath with Driver Code: Provides driver code snippets.
- Supported Frameworks: Currently supports Selenium (Java, Python, C#), Protractor JS, and Playwright (Node & Java).
While there are many XPath tools available, LetXPath stands out by not only offering XPaths and snippets but also providing video tutorials on building the entire tool. It’s the only product that shows you how to create the tool itself.
- Source Code: GitHub
- Tutorial: Video Tutorial
If it doesn’t work, restarting your browser should resolve most issues. Feel free to raise any bugs on GitHub.
Yes, LetXPath is completely free and always will be.
Installing LetXPath brings you the joy of seamless XPath generation and the satisfaction of leaving a 5-star rating.
Our roadmap is extensive and full of features designed to save you time. Stay tuned for more updates!
Thanks for reading this far! Install LetXPath now and start exploring—you might just fall in love with it. 😉