Hacker News new | ask | show | jobs
by the_arun 444 days ago
Is this for test automation? or for using Playwright as "Operator" in an Agent?
3 comments

Anyone know how you would use this _within_ playwright to write playwright tests in natural language?
I think it's to give the LLM control of your browser.
So instead of specifying explicit selectors, etc, you just use a prompt? (like "Go to eBay.com, search for Playstation 5, and click on the first result that isn't a promoted listing")
Yes, exactly. It defaults to using the Chrome accessibility tree but it can also be run so it uses Claude's vision feature against screenshots instead.
Click the link and find out.