Settings

Theme

Show HN: My AI agent has a browser to fix hallucinated selectors

slash.cool

1 points by asen_not_taken 5 months ago · 2 comments · 1 min read

Reader

Hey HN,

As the title says, I built this because AI-generated web automation scripts are often full of hallucinated CSS selectors. They’re simply guessing because they can't see the actual page.

My tool, Slash, fixes this by giving the agent a real browser.

It sees the page: Before writing any code, it loads the site and analyzes the live DOM. This leads to much more reliable Playwright scripts.

You get the code: It outputs the full script, not just a data file. This means no black boxes. You can run it, put it in a cron job, and modify it however you want.

The goal is to get the benefits of AI for automation without sacrificing control and verifiability.

Since we're here, I made a short demo of Slash scraping the HN front page: https://slash.cool/slash-demo-hn.mp4

I'm here to answer questions and would love your feedback.

You can try the tool itself here: https://slash.cool/

0xinhua 5 months ago

Looks very impressive, It looks like it's trying to action like how a human would scrape HN webpage. saving for later.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection