Lurker News
i started the selenium project 21 years ago. vibium is what i'd build if i started over today with ai agents in mind. go binary under the hood (handles browser, bidi, mcp) but devs never see it. just npm install vibium. python/java coming. for claude code: claude mcp add vibium -- npx -y vibium v1 ships today. ama.

Comments (124) 36 threads

rukuu0014 replies#
Hey man, just wanted to say thanks for Selenium - it was a game changer and had a big impact on my professional life.

I’m interested in checking out Vibium - I’ve been a reluctant adopter of Playwright and hopeful for a new approach.

hugs#
playwright got a lot of things right. one of the big ones was a fast websockets+json way to drive the browser. (vibium is using the w3c standard equivalent - webdriver bidi). but they also raised the bar on usability and developer experience. i hope to get to the level of "click, click, awesome" out-of-the-box experience that playwright did so well.
pkiv2 replies#
If you're already using Playwright, I'd love for you to give Stagehand a try (https://github.com/browserbase/stagehand) - it has compatible-ish API, but built for automation, not testing.
hugs#
stagehand is good stuff!
zenmac1 reply#
Hmmm so it is basically using https://www.director.ai for the AI natural language stuff right?
brianjking#
Director.ai uses Stagehand, which is made by Browserbase.
irjustin#
> I’ve been a reluctant adopter of Playwright and hopeful for a new approach.

Out of curiosity, why?
Personally, I'm a massive lover of playwright. Flakiness has been so much lower for us.

m00dy#
I think the future is mobile when it comes AI agents, If you are also looking for a new approach, I would suggest DeepWalker. It is mobile first automation, currently works on android.

[0]: https://deepwalker.xyz

dmd2 replies#
Does it allow you to inject js, modify the DOM, and most crucially monitor/modify network requests? I do those things in probably 95-99% of the time I reach for playwright mcp in claude, and from the "For Agents" part of the README, it seems like all this can do is click/type/screenshot?
hugs1 reply#
> inject js, modify the DOM, and most crucially monitor/modify network requests

not yet. definitely on the roadmap, though. goal is to embrace what playwright has done well, then extend what's possible...

dmd3 replies#
Thanks. I would love to understand what people are doing with Playwright that doesn't involve those things. I really can't recall ever using it where that wasn't what I was doing. I use it letting Claude fix things. You can't fix what you can't see! What else are people using it for? Obviously there must be a (very popular!) use case for "just clicking", but I can't seem to imagine it.
hugs1 reply#
don't underestimate the "just clicking" use case!

Continue this thread — 1 reply

VoidWhisperer#
In my experience, we've used playwright significantly for unit/integration tests combining it with react-testing-library to verify individual components and also whole (mocked, we used something else that I can't seem to remember for E2E tests) flows within that React application
Robdel122 replies#
To me doing network interception in browser driven tests is a smell like that. Unless you’re running vs a full mocked server (like MSW).

I’m a big fan of testing exactly like a user. Users don’t use network intercepts, timeouts, etc. All of my most reliable tests assert on DOM state. If the user doesn’t see it, don’t assert on it.

Continue this thread — 2 replies

doctorpangloss1 reply#
all i want is monitored network requests, because flutter + amazon appsync apps are so radioactive
hugs#
good feedback. thank you!
9999000009993 replies#
As someone who's made a good living primarily in UI automation for over a decade, thank you.

It's been an interesting journey.I do think Playwright is the defacto standard now, but Selenium was the original browser driver.
Anyway, how does Vibium compare to Playwright ? Playwright's main advantage is it has official support for multiple languages.

hugs3 replies#
> I do think Playwright is the defacto standard now

i'll politely pushback a little. i think it's safe (at this moment in time) to say: playwright wins the first derivative, but selenium wins the "area under the curve". selenium is very entrenched in many parts of the world, especially outside of SF/USA. part of the inbound interest i've been getting for vibium is from those selenium users who want some kind of bridge to the future, but didn't have an obvious path forward beyond "dump selenium, adopt playwright"...
part of my plan with vibium post-v1 is to give that massive (and it truly is massive, i'm not bragging) installed base of selenium users an upgrade path to more agentic coding options.

steve_adams_863 replies#
Selenium is distinctly more popular among scientists in my experience. I've only seen playwright at startups.
therunninglight#
same in my experience.
9999000009991 reply#
I've personally implemented Playwright in a large enterprise company. Puppeteer before that.

Generally if you have a lot of legacy selenium scripts it's probably not worth it to switch everything over, but if you're creating a new UI automation framework I've just never seen selenium as a first choice for that.
Don't get me wrong it's still solid technology though.

Continue this thread — 1 reply

zenmac1 reply#
Isn't Selenium vs Playwright more a Java vs JS/ES/TS thing?

Continue this thread — 1 reply

9999000009991 reply#
Are you solo developing vibium ?

Playwright really simplifies getting setup. It won't work for everyone, but within 30 seconds Playwright will download it's needed browsers along with a test runner.
I also find the documentation is much better/consolidated.
Definitely open to helping you out if I can be of assistance.

hugs5 replies#
"npm install vibium" installs the needed browser on install.

right now, code-wise -- for the code you see in github at the moment -- it's just me and my ai pal, claude. but there's a growing cast of (human!) characters also helping with all the other things we need to do to run a successful project. patches and tokens welcome!

Continue this thread — 5 replies

jjmarr#
Selenium was a part of my degree. I had a course involving it.
maxloh1 reply#
Any idea how did Puppeteer lose the race?
hugs#
google fell victim to one of the classic blunders. the most famous of which is inventing the transformer behind gpt but not productizing it first. but only slightly less well-known is this: letting puppeteer go without a plan.
mbrochh#
You might also want to look into Stagewright.
hugs1 reply#
yeah, looking to play more with (and support) skills with vibium soon.
chews#
big virtual hugs for @hugs... thank you for the Christmas gift of fewer keystrokes :-)

Load more comments