alt.hn

3/24/2026 at 7:46:46 AM

Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build

https://proofshot.argil.io/

by jberthom

3/24/2026 at 9:26:47 AM

I use AI agents to build UI features daily. The thing that kept annoying me: the agent writes code but never sees what it actually looks like in the browser. It can’t tell if the layout is broken or if the console is throwing errors.

I give agent either a simple browser or Playwright access to proper browsers to do this. It works quite well, to the point where I can ask Claude to debug GLSL shaders running in WebGL with it.

by onion2k

3/24/2026 at 10:42:23 AM

Do you use Chrome DevTools MCP or how does it work?

by wg0

3/24/2026 at 11:14:21 AM

Playwright mcp has screenshotting built in

by roxolotl

3/24/2026 at 9:32:33 AM

This would be _extremely_ valuable for desktop dev when you don't have a DOM, no "accessibility" layer to interrogate. Think e.g. a drawing application. You want to test that after the user starts the "draw circle" command and clicks two points, there is actually a circle on the screen. No matter how many abstractions you make over your domain model, rendering you can't actually test that "the user sees a circle". You can verify your drawing contains a circle object. You can verify your renderer was told to draw a circle. But fifty things can go wrong before the user actually agrees he saw a circle (the color was set to transparent, the layer was hidden, the transform was incorrect, the renderer didn't swap buffers, ...).

by alkonaut

3/24/2026 at 9:47:27 AM

This is a good point. For anything without a DOM, screenshot diffing is basically your only option. Mozilla did this for Gecko layout regression testing 20+ years ago and it was remarkably effective. The interesting part now is that you can feed those screenshots to a vision model and get semantic analysis instead of just pixel diffing.

by bartwaardenburg

3/24/2026 at 10:16:13 AM

I've always found screenshots on PRs incredibly helpful as a reviewer. Historically I've had mixed success getting my team to consistently add screenshots to PRs, so this tool would be helpful even for human code.

At work, we've integrated claude code with gitlab issues/merge requests, and we get it to screenshot anything it's done. We could use the same workflow to screenshot (or in this case, host a proofshot bundle of) _any_ open PR. You would just get the agent to check out any PR, get proofshot to play around with it, then add that as a comment. So not automated code reviews, which are tiresome, but more like a helpful comment with more context.

Going to try out proofshot this week, if it works like it does on the landing page it looks great.

by sd9

3/24/2026 at 10:45:37 AM

I've been using playwright-cli (not mcp) for this same purpose. It lacks the video feature, I guess. But at least is local and without external dependencies on even more third parties (in your case, vercel). Perhaps you could allow to use a local solution as an alternative as well?

by nunodonato

3/24/2026 at 9:31:42 AM

I find the official Chrome DevTools MCP excellent for this. Lighter than Playwright, the loop is shorter, and easy to jam into Electron too.

by boomskats

3/24/2026 at 10:47:00 AM

chrome devtools mcp really clutters your context. Playwright-cli (not mcp) is so much more efficient.

by nunodonato

3/24/2026 at 9:05:10 AM

I'm currently experimenting with running a web app "headless" in Node.JS by implementing some of the DOM JS functions myself. Then write mocks for keyboard input, etc. Then have the code agent run the headless client which also starts the tests. In my experience the coding agents are very bad at detecting UX issues, they can however write the tests for me if I explain what's wrong. So I'm the eye's and it's my taste, the agent writes the tests and the code.

by z3t4

3/24/2026 at 10:58:53 AM

Thanks! I do share screenshots and paste them manually for front end stuff, nice idea though.

by peter_retief

3/24/2026 at 8:39:29 AM

What does this do that playwright-cli doesn't?

https://github.com/microsoft/playwright-cli

by theshrike79

3/24/2026 at 10:47:40 AM

I think playwright doesnt capture video, right?

by nunodonato

3/24/2026 at 8:50:51 AM

These aren't really comparable, OP's is something that records, captures and reproduces with steps.

by jofzar

3/24/2026 at 9:13:59 AM

playwright can do all of that too. I'm confused why this is necessary.

If coding agents are given the Playwright access they can do it better actually because using Chrome Developer Tools Protocol they can interact with the browser and experiment with things without having to wait for all of this to complete before making moves. For instance I've seen Claude Code captures console messages from a running Chrome instance and uses that to debug things...

by mohsen1

3/24/2026 at 9:48:33 AM

I've also had Claude run javascript code on a page using playwright-cli to figure out why a button wasn't working as it should.

by theshrike79

3/24/2026 at 9:27:43 AM

That's exactly what Playwright does, but also something you don't really need in order to debug a problem.

by onion2k

3/24/2026 at 8:56:22 AM

I'm going the opposite of everyone else is saying.

This is sick OP based on what's in the document, it looks really useful when you need to quickly fix something and need to validate the changes to make sure nothing has changed in the UI/workflow except what you have asked.

Also looks useful for PR's, have a before and after changed.

by jofzar

3/24/2026 at 9:24:04 AM

Exactly. We need more tools like this. With the right model, picking apart images and videos isn't that hard. Adding vision to your testing removes a lot of guess work from ai coding when it comes to fixing layout bugs.

A few days ago I had a interaction with codex that roughly went as follows, "this chat window is scrolling off screen, fix", "I've fixed it", "No you didn't", "You are totally right, I'm fixing it now", "still broken", "please use a headless browser to look at the thing and then fix it", "....", "I see the problem now, I'm implementing a fix and verifying the fix with the browser", etc. This took a few tries and it eventually nailed it. And added the e2e test of course.

I usually prompt codex with screenshots for layout issues as well. One of the nice things of their desktop app relative to the cli is that pasting screenshots works.

A lot of our QA practices are still rooted in us checking stuff manually. We need to get ourselves out of the loop as much as possible. Tools like this make that easier.

I think I recall Mozilla pioneering regression testing of their layout engine using screenshots about a quarter century ago. They had a lot of stuff landing in their browser that could trigger all sorts of weird regressions. If screenshots changed without good reason, that was a bug. Very simple mechanism and very effective. We can do better these days.

by jillesvangurp

3/24/2026 at 10:09:18 AM

This is really cool. Have you thought of maybe accessing the screen through accessibility APIs? For Android mobile devices I have a skill I created that accesses the screen xml dump as part of feature development and it seems to work much better than screenshots / videos. Is this scalable to other OS's?

by dbdoskey

3/24/2026 at 10:20:09 AM

It's trivial in Xcode Simulator, for Apple platform coverage.

by msephton

3/24/2026 at 8:55:21 AM

How would this play with mobile apps?

I'd love to see an agent doing work, then launching app on iOS sim or Android emu to visually "use" the app to inspect whether things work as expected or not.

by can16358p

3/24/2026 at 9:28:25 AM

Something like OpenAIs agent mode where it drives a mouse and keyboard but against an emulator should be doable. That agent mode is BTW super useful for doing QA and executing elaborate test plans and reporting issues and UX problems. I've been meaning to do more with that after some impressive report I got with minimal prompting when I tried this a few months ago.

That's very different from scripting together what is effectively a whitebox test against document ids which is what people do with things like playwright. Replacing manual QA like that could be valuable.

by jillesvangurp

3/24/2026 at 8:47:05 AM

This is basically what antigravity (Google’s Windsurf) ships with. Having more options to add this functionality to Open code / Claude code for local models is really awesome. MIT license too!

by lastdong

3/24/2026 at 8:36:10 AM

Looks nice! Does it work for desktop applications as well, or is this only web dev?

by VadimPR

3/24/2026 at 10:43:56 AM

That is not UI, that's just some web pages with JS.

by dude250711

3/24/2026 at 9:49:01 AM

I see

by EruditeCoder108

3/24/2026 at 8:34:42 AM

what about mcp cdp ?

my claude drive his own brave autonomously, even for ui ?

by Horos

3/24/2026 at 9:30:16 AM

Gemini on Antigravity is already doing this.

by m00dy

3/24/2026 at 8:32:03 AM

Great to see this but exe.dev (not sponsored but they are pretty cool and I use them quite often, if they wish to sponsor me that would be awesome haha :-]) actually has this functionality natively built in.

but its great to see some other open source alternatives within this space as well.

by Imustaskforhelp

3/24/2026 at 10:44:18 AM

[dead]

by chattermate

3/24/2026 at 8:38:24 AM

Taking screenshots and recording is not quite the same as "seeing". A camera doesn't see things. If the tool can identify issues and improvements to make, by analyzing the screenshot, that's I think useful.

by zkmon

3/24/2026 at 8:52:04 AM

> It’s not a testing framework. The agent doesn’t decide pass/fail. It just gives me the evidence so I don’t have to open the browser myself every time.

From the OP, i don't think this is what is meant for what you are saying.

by jofzar

3/24/2026 at 9:12:13 AM

I read it in the same vein as saying that a sub's sonar enables "seeing" its surroundings. The focus is on having a spatial sensor rather than on the qualia of how that sensation is afterwards processed/felt.

by falcor84

3/24/2026 at 9:16:03 AM

> If the tool can identify issues and improvements (...)

Tools like Claude and the like can, and do. This is just a utility to make the process easier.

by philipp-gayret