Show HN: A smarter CSS selector generator
Category: library
Tags: css-selector, dom-utility, testing-tool
Score: 5.5/10 (Innovation: 4, Technical: 6, Documentation: 6, Utility: 6)
@uindow/css is a CSS selector generator that treats selector discovery as a search problem, offering ranked, configurable results instead of a single lookup. It provides multiple selector candidates with penalty scoring and supports custom filtering, making it a flexible tool for automated testing or DOM analysis. Its approach is incremental but technically solid, with good utility for developers needing robust element targeting.
Target audience: backend devs, frontend devs, test engineers
Repository: https://www.npmjs.com/package/@uindow/css · CC-BY-4.0 · 143 stars
View on Hacker News