This looks really cool, thanks for sharing! I recently tried to implement a workflow automation using similar frameworks that were playwright or puppeteer based. My goal was to log into a bunch of vendor backends and extract values for reporting (no APIs available). What stopped me entirely were websites that implemented an invisible captcha. They can detect a playwright instance by how it interacts with the DOM. Pre…
Show HN: Stagehand – an open source browser automation framework powered by AI
71–80 of 89 posts
Re: Show HN: Stagehand – an open source browser automation framework powered by AI
#72Earlier quoted context omitted.
Thanks so much! Our Stagehand MCP server actually won Anthropic's Claude MCP hackathon :) Check it out: https://github.com/browserbase/mcp-server-browserbase/tree/m... We're working on a better computer use integration using Stagehand, def a lot of interesting potential there
The MCP server is useful, I built a demo of converting bug reports into Playwright tests using it - https://qckfx.com/demo
Re: Show HN: Stagehand – an open source browser automation framework powered by AI
#73Hey Anirudh, Stagehand looks awesome, congrats. Really love the focus on making browser automations more resilient to DOM changes. The act, extract, and observe methods are super clean. You might want to check out Lightpanda ( https://github.com/lightpanda-io/browser ). It's an open-source, lightweight headless browser built from scratch for AI and web automation. It's focused on skipping graphical rendering to make…
I don't really follow: a lot of the fragility of web automation comes from the programmatic vs. visual differences, which VLMs are able to overcome. Skipping the graphical rendering seems to be committing yourself to non-visual hell. The web isn't made for agents and automation. It's made for people.
Solely depending on a VLM is indeed reminiscent of how humans interact with the web, but when a model thrives with more data, why restrict the data sent to the model?
Re: Show HN: Stagehand – an open source browser automation framework powered by AI
#74wow. It's like cursor vs vscode movement but for browser automation and scrapping. Kudos to the author. Are there any other similar tools?
Thanks so much! Crawlspace is pretty sick too, as is Integuru. A lot of people have different takes here on the level of automation to leave up to the user. As a developer building for developers, I wanted to meet in the middle and build off an existing incumbent that most people are likely familiar with already
Re: Show HN: Stagehand – an open source browser automation framework powered by AI
#75This looks very cool and makes a lot of sense, except for the idea that it should take the place of Playwright et al. Personally I'd love to use this as an intermediate workflow for producing deterministic playwright code, but it looks like this is intended for running directly. I don't think I could plausibly argue for using LLMs at runtime in our test suite at work...
Hi! Kosta from Octomind here. We built basically this: Let an LLM agent take a look at your web page and generate the playwright code to test it. Running the test is just running the deterministic playwright code. Of course, the actual hard work is _maintaining_ end-to-end tests so our agent can do that for you as well. Feel free to check us out, we have a no-hassle free tier.
Re: Show HN: Stagehand – an open source browser automation framework powered by AI
#76Earlier quoted context omitted.
It doesn’t look like accessing the llmclient for this is possible for external projects in the latest release, as that example takes advantage of being inside the project. (At least working through the quick start guide).
We accidentally didn't release the right types for LLMClient :/ However, if you set the version in package.json to "alpha", it will install what's on the main branch on GitHub, which should have the typing fix there
To be honest I took about 2 minutes of playing around to get annoyed with the inaccuracies of the locally hosted model for that, so I get why you encourage the other approaches.
Re: Show HN: Stagehand – an open source browser automation framework powered by AI
#77Earlier quoted context omitted.
It seems to me like Selenium would have been a more appropriate API to extend from, then. Playwright, despite whatever people want it to be otherwise, is explicitly positioned for testing, first. People in the browser automation space consistently ignore this, for whatever reason. Though, it's right on their site in black and white.
Appreciate the feedback. Our take is that Playwright is an open-sourced library with a lot of built-in features that make building with it a lot easier, so it's definitely an easier starting point for us
Re: Show HN: Stagehand – an open source browser automation framework powered by AI
#78Re: Show HN: Stagehand – an open source browser automation framework powered by AI
#79Earlier quoted context omitted.
How do you get by when every major sites starts blocking headless browsers? A good example right now is Zillow, but I foresee a world where big chunks of the internet are behind captcha and bot detection
That's not really a problem for Stagehand. It's a problem for Selenium, Playwright, Puppeteer and others at the browser automation library level.
It may become a real problem for the usefulness of this style of LLM driven browsing.
Re: Show HN: Stagehand – an open source browser automation framework powered by AI
#80Earlier quoted context omitted.
That's not really a problem for Stagehand. It's a problem for Selenium, Playwright, Puppeteer and others at the browser automation library level.
it's not really a problem for Playwrite, because Playwrite is really intended to be run by the owners of the website, not as a webscraper. It may become a real problem for the usefulness of this style of LLM driven browsing.
There are plugins that extend the major browser automation libraries to do this sort of thing.
And undetectable browser automation doesn't use Playwright, Puppeteer, or Selenium at all.