Close the Visual Feedback Loop

Lesson 8 · Browser and computer use · ~11 minutes

Source inspection cannot prove a rendered interface works. Codex can operate the UI, reproduce the failure, change the code, and repeat the same flow.

TargetUse
Local or public page without sign-inIn-app Browser
Signed-in Chrome state or extensionsChrome integration
Native desktop applicationComputer Use
Structured external systemDedicated plugin or MCP first

Specify the Observable Loop

Open http://localhost:3000/settings.
At 390px width, reproduce the overflowing Save button.
Fix only the layout cause.
Repeat the same flow and capture the verified state.
Visible content is input

Pages and desktop apps can contain misleading instructions. Keep sensitive apps closed, scope the target, and review signed-in or state-changing actions.

Capture More Than a Screenshot

A screenshot proves appearance at one moment. Strong UI verification combines several kinds of evidence:

EvidenceWhat it proves
Exact interaction sequenceThe state is reproducible
DOM and computed stylesThe rendered structure and layout cause
Console outputClient-side failures and warnings
Network traceRequests, timing, status, and payload shape
Before-and-after screenshotThe visible outcome changed as intended

Define the State Space

Responsive success at one width does not cover loading, empty, error, keyboard, or long-content states. Select only the states relevant to the change, but name them explicitly.

Tight loop

Reproduce → capture evidence → make one scoped change → repeat the identical flow → inspect the diff. Changing the reproduction halfway through weakens the result.

Check Your Understanding

A local unauthenticated page has a responsive layout bug. Which tool fits first?
Correct. The in-app browser is the narrowest shared surface for local web verification.
Use the in-app browser first for local pages that do not require authentication.

Do This Now

Pick one local route and define a three-step reproduction with an exact viewport, data state, and observable pass condition. Specify which screenshot, console, DOM, or network evidence Codex must return after repeating the flow.

Primary Sources

In-app browser and Computer Use.

Questions? Describe the target UI and authentication state; I will select the narrowest verification surface.
← PreviousNext →