Loading video...

Video Failed to Load

Go Home

Introducing Expect Test your agent code in a real browser Works with your agent. Fully open source

73,735 views • 6 months ago •via X (Twitter)

40 Comments

Aiden Bai's profile picture
Aiden Bai6 months ago

Agents are bottlenecked because it needs YOU to test its changes Expect automates that: → Watch and steer on a live browser (with cookies!) → Performance, accessibility, design & security → Works inside Claude Code, Codex, etc.

Aiden Bai's profile picture
Aiden Bai6 months ago

Install it via your terminal: npx expect-cli@latest init

Aiden Bai's profile picture
Aiden Bai6 months ago

we're open source + love feedback. reply if you hit an issue and I'll get it resolved live

Ben MacLaurin's profile picture
Ben MacLaurin6 months ago

a lot of fun designing this!

Aiden Bai's profile picture
Aiden Bai6 months ago

cooked

Same's profile picture
Same6 months ago

porting this to Same

ami's profile picture
ami6 months ago

lfg

Nisarg Patel's profile picture
Nisarg Patel6 months ago

this demo is real btw (it's literally a live agent cursor on the screen)

Aiden Bai's profile picture
Aiden Bai6 months ago

Expected

Charlie J's profile picture
Charlie J6 months ago

This is really cool!! Is there any plans to allow it to help with writing tests? I use Pest PHP (which uses Playwright under the hood for browser testing), I’d love to be able to click around and have it convert that to a test for complex functionality. Unless I’ve mistaken the testing part of Expect

Aiden Bai's profile picture
Aiden Bai6 months ago

would you be willing to share more details via DM? happy to see if we can make it work

Leo - 15 y/o founder's profile picture
Leo - 15 y/o founder6 months ago

This is so useful! Can't wait to try it

Aiden Bai's profile picture
Aiden Bai6 months ago

lmk how it goes! should be super easy to install + try!

wilson hou's profile picture
wilson hou6 months ago

rabbit r1 LAM for testing but actually good

Aiden Bai's profile picture
Aiden Bai6 months ago

bro RABBIT?

wilson hou's profile picture
wilson hou6 months ago

it was destined to be fr

isabelle's profile picture
isabelle6 months ago

unExpectedly really good

Aiden Bai's profile picture
Aiden Bai6 months ago

wow that is so funny Isabelle

emregency 🥐's profile picture
emregency 🥐6 months ago

@samedotdev Used Expect to do the entire QnA of an app that I’ve migrated to a new framework. I didn’t look at anything, worked like a charm. Expect + Dev Agent was amazing

param's profile picture
param6 months ago

background agent -> expect -> video with changes to slack

Aiden Bai's profile picture
Aiden Bai6 months ago

lmk if you need help setting up this flow!

Abhijitam Dubey's profile picture
Abhijitam Dubey6 months ago

wohhhhhh , thats so amazing

Samuel Fikre's profile picture
Samuel Fikre6 months ago

how much of perf/a11y/design/security checks are heuristics vs real audits? can i weight/disable some?

Aiden Bai's profile picture
Aiden Bai6 months ago

it's agent based on runtime info. agent has special tools (like profiler, axe core) and the agent audits

John Wei's profile picture
John Wei6 months ago

clean idea!

Davi Oliveira's profile picture
Davi Oliveira6 months ago

cool!

Sup*'s profile picture
Sup*6 months ago

This is good!!! Gonna go try this out rn!

Trogdor69's profile picture
Trogdor696 months ago

Cooking

Aptus's profile picture
Aptus6 months ago

Cool, how is this different from D3k?

Rakesh Purohit's profile picture
Rakesh Purohit6 months ago

Is it just a skill? How is it different than puppeteer?

Saïd Aitmbarek's profile picture
Saïd Aitmbarek6 months ago

dope combo playwright mcp + sync' with coding agents run logs!

Aiqi Liu's profile picture
Aiqi Liu6 months ago

Dumb question: how’s it different from me telling CC to write the QA checklist and have it self-verify by using playwright or agent-browser

Gregor's profile picture
Gregor6 months ago

What's the biggest gap you found between simulated and real browser behavior that pushed you to build this?

Abdulrahman's profile picture
Abdulrahman6 months ago

going to try this tomorrow, it’s been on my list for a few days now

Quoc Huy's profile picture
Quoc Huy6 months ago

How do u make a living @aidenybai ? You’re open sourcing your tools

rusty.wtf's profile picture
rusty.wtf6 months ago

rad. TIL about million co. i dont really buy into the whole 'mcp bad' thing. but, any particular reason this is very MCP driven? at least, according to the skill file it seems that way

Raduan Al-Shedivat's profile picture
Raduan Al-Shedivat6 months ago

not sure why this got so little views, looks amazing, going to give it a spin!

Sebastian Sosa's profile picture
Sebastian Sosa6 months ago

What do you use for video editing, the vids are fire!!

mrkelly's profile picture
mrkelly6 months ago

I learned this the hard way. Browser testing doesn't solve agent reliability, it just shifts the fragility.

Raf's profile picture
Raf6 months ago

Can I run expect for something like a Salesforce project? I often have to test a lot of LWCs which is a big pain in the ass.

Related Videos