3 ms·
Is there a name for the concept of automatically generating (potentially with machine learning?) selectors? I feel like I’ve seen similar projects come across
by WalterGR 6y ago
Is there a name for the concept of automatically generating (potentially with machine learning?) selectors?
I feel like I’ve seen similar projects come across HN, but I’m at a loss for what to search for.
- onli 6y agoIt's not that easy to reuse those because projects often differ in what they need (do you really want unique selectors for one single element?). But there are a couple of CSS selector generators, maybe you are referring to something like https://github.com/fczbkk/css-selector-generator https://github.com/fczbkk/css-selector-generator or https://github.com/antonmedv/finder https://github.com/antonmedv/finder?
- benibela 6y agoI made a greasemonkey script for this purpose. Create XPath, CSS or pattern matching. Unfortunately it stopped working when Firefox got its new API. But here is a video of it: https://youtu.be/PUrBJ6wOXvE?t=50 https://youtu.be/PUrBJ6wOXvE?t=50
- onli 6y agoA very structured and guided approach/interface you built there. I can see why it does not work anymore with the new extension API, it's a complete interface. Nice work!
- SomewhatLikely 6y ago"wrapper induction" is one term that gets used.