AI browser extension creates sturdier web selectors
Selector Forge is a that creates or XPath for elements on a web page. It works in Chrome and Firefox and has been released as open source. Normal “copy selector” tools often return long paths that can break when a page layout changes slightly.
Selector Forge uses AI to suggest and rank possible selectors, then checks each one against the live DOM in the browser before showing it. It can select one element, such as a button or input, or a repeated list of elements by using two examples from the page. Bad matches, including selectors that catch too many or too few items, are rejected.
The main uses are web automation, , and scraping, where a script needs to find the same page element reliably over time. Planned features include CLI control, MCP support, export to Playwright or plain JavaScript, and a backend.
Key points
- Selector Forge turns clicked page elements into or XPath.
- AI suggests candidates, but the browser DOM check decides whether they really work.
- It supports both single elements and repeated lists of elements.
- It is available for Chrome and Firefox and has been released as open source.
- It is most useful for web automation, , and scraping.