All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter
Baker's Take· 2 sources

New open-source browser extension uses AI to generate selectors that survive page updates

By

Mr Bagel

· 1d ago

A free, open-source browser extension called Selector Forge is aiming to solve a common frustration for web developers: the brittle, easily broken CSS and XPath selectors that Chrome DevTools produces. Built by Intuned, the tool uses AI to create what the team calls "semantic" selectors that remain stable even when a page's layout changes, according to Product Hunt.

New open-source browser extension uses AI to generate selectors that survive page updates

"Unlike Chrome DevTools' brittle 'Copy Selector' feature, Selector Forge creates 'semantic' selectors that withstand page layout changes."

This addresses a pain point for developers who rely on selectors for automated testing, web scraping, or dynamic UI interactions, where a minor redesign can break an entire workflow.

Selector Forge supports generating selectors for both single elements and lists of elements, and the code is available on GitHub, as reported by Hacker News. The extension is designed to be a more resilient alternative to the standard copy-selector functionality built into browsers.

By leveraging AI to understand the structure and meaning of page elements rather than just their current position or class names, Selector Forge aims to reduce the maintenance burden on developers. The tool is now available for download on GitHub and as a browser extension.

The reporting

2 outlets covered this story. Each links to the original.

0

Comments

Sign in to join the conversation.

No comments yet. Be the first.