← Back to context

Comment by pkiv

1 day ago

I'm working on rebuilding Playwright from the ground up, but focused on automation and self healing using LLMs.

It's called Stagehand (https://github.com/browserbase/stagehand) and we just released v3, which is a total rewrite.

Interesting.

I rewrote Playwright to run completely in a Chrome Extension without CDP or chrome.devtools for no practical reason at all. I started to do it like Forest Gump started running. It can't get past bot protection so pretty worthless from a browser automation point of view. [0]

What I don't understand is why the need to rewrite Playwright instead of just patching it. Playwright (or Puppeteer) has addressed every edge case that has come -- especially race conditions which are a monster to deal with -- up over the years and by the time you do the same you will have Playwright.

Why is rewriting or rebuilding Playwright from the ground up needed?

[0] https://github.com/adam-s/cordyceps/tree/main/pages/side-pan...

Very cool. I make a consulting business out of packaging selenium scripts into windows apps for small businesses, do you have any desire to turn this into a saleable product?

  • Stagehand is our open source project, but the company behind it is called Browserbase - https://browserbase.com/ where we run headless browser infrastructure as a service. So no interest at this point, Browserbase drives the revenue that funds Stagehand!