News for hackers. Stuff that matters.
Re:Closer to the Metal: Leaving Playwright for CDP by nikisweeting on Wednesday August 20, 2025 @08:30PM (#44967921)
Yes the key is we don't intercept requests and responses, that saves 60% of the headache of lifecycle management.

We do exactly what you described with a 1+1 check in a loop for every target, it pops any crashed sessions from the pool, and we don't keep any state beyond that about what tabs are alive. We really try to derive everything fresh from the browser on every call, with minimal in-memory state.

https://github.com/browser-use/browser-use/blob/2a0f4bd93a43...

Re:Closer to the Metal: Leaving Playwright for CDP by dataviz1000 on Wednesday August 20, 2025 @09:46PM (#44968277)
Ha, I got that idea from you! Sitting there in the back of my mind.