Hacker News new | ask | show | jobs
by simonw 28 days ago
I've been telling agents to run Chrome and talk to it directly via the CDP recently and finding that to work very well.
2 comments

I'll have to try that. how does it compare to using playwright? it seems like one advantage of playwright is being able to use it with multiple browsers, at least as far as web development goes. if these browser-specific tools end up being faster or more token efficient then it's probably the better pick for task automation and claws
Yeah, the big advantage of playwright is that it's cross-browser. It's still my go-to tool for automated testing - I use the CDP trick for one-off automation tasks.
Indeed. This works much better and faster than the mcp route.