The menu looks right. Same colour. Same corners. Then you click it, and something feels off.
Maybe it opens too fast. Maybe the panel starts in the wrong place. Or the button loses focus when you close it.
This is the awkward part of using a screenshot as a reference. It shows one result. It does not show the steps that made that result.
One frame, many questions
Look at the drawing above. It is an example, not a measurement from a customer site. The open menu could appear instantly, slide down, or fade in. All three versions could end on the same screenshot.
A video adds the order of events and visible movement. That helps a lot. But watching a video is not the same as reading the animation settings from the browser.
| Reference | Useful for | Still missing |
|---|---|---|
| Screenshot | Layout, colour, visible state | Timing and the path to that state |
| Video | Visible motion and action order | Exact CSS values and hidden rules |
| Recorded DOM + motion | Captured structure, styles and timing data | Original handlers and unvisited behaviour |
| Source + running app | Implementation and live checks | You still need to test the paths that matter |
Read what the browser knows
The browser has APIs for this. getAnimations() returns animations affecting an element. getKeyframes() can return their computed keyframes. These are more useful than asking a model to guess a duration from a still image.
There is a catch. Not everything on a page is an inspectable CSS animation. A canvas drawing is different. So is a frame from another origin. A tool needs to say what it missed.
Record the return trip
If you want to reuse a menu, do more than open it once:
- Open it with the mouse.
- Close it with Escape.
- Open it again and click outside.
- Try the keyboard path you expect your own app to support.
This gives the agent evidence for more than the pretty part. If you did not record a keyboard path, write it down as a requirement. Do not pretend the recording proved it.
Where Walkthrough fits
Walkthrough lets you replay a recording, select an element, and export the available structure, style and motion evidence. Your agent can use that reference while working in your own app.
It does not recover the site's original React component. It cannot promise every hidden state. Even Figma's capture FAQ says captured code may not fully reproduce the original interactions.
Export the selected evidence with your target component and the changes you want. Ask your agent to adapt it to your app, then test opening, closing and focus return.
Try this on one menu
Keep your screenshot. Add the opening and closing flow. Ask the agent to list what it knows, what it inferred, and what it still needs to test. Compare the result with your old screenshot-only workflow.
We have not published a controlled speed or accuracy benchmark for this yet. That comparison is a useful test, not a promised improvement.
Sources
- MDN: Element.getAnimations()developer.mozilla.org
- MDN: KeyframeEffect.getKeyframes()developer.mozilla.org
- Figma Chrome extension: capture limitsfigma.com
Reference links for this article.

