sushilkamble.com — VS Code
Back to all posts

// posts/ai-finally-cracked-ui-testing-and-it-s-a-big-deal.md

claudegooglechrome

UI testing was the one thing AI couldn't do good for me. But Now, I just wrote a prompt in plain english and it, just verified login, click through 7 buttons, and reported back in under 2 minutes.

When you're iterating fast with AI, manually clicking through features becomes the bottleneck.

Then I discovered agent-browser (https://agent-browser.dev/) by Vercel.
It's a browser automation CLI built specifically for AI agents. What makes it different:
⚡ Uses element refs (drastically less context)
⚡ Zero configuration needed
⚡ Built in Rust for instant command parsing
⚡ Works with any AI agent through simple CLI commands

I gave it a complete workflow (See in the video):

  • Login with credentials
  • Navigate to a specific workflow page
  • Click through multiple buttons
  • Run the workflow
  • Extract execution logs and final output
    Under 2 minutes. Fully automated. Zero manual intervention.

What hit me wasn't the speed. It's that we finally have a verification loop. AI builds the feature. AI tests the feature. AI reports the results.

Beyond testing, this unlocks end-to-end automation - from submitting weekly timesheets and pulling analytics across tools, to scraping job postings and bulk-updating product listings and many more thing - all driven by prompt that you can save.

#agentbrowser #ai #automation #testing

main 0 problems
UTF-8 Markdown