﻿# bb browser checks: test a user flow, not only a screenshot

A bb browser check should connect actions to visible state changes and describe its coverage; a screenshot alone cannot prove that an interaction succeeded.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/bb-browser-flow-verification/
Language: en

An attractive screenshot can show the wrong application state and still look convincing. A browser check becomes more informative when it follows a user action through to an observable outcome. In bb, the browser guide encourages an explicit flow, relevant screen sizes and a report of what was actually exercised.

## Begin with a state transition

Imagine an issue list with a search field, a status filter and a reset action. The intended flow starts with the unfiltered list, applies a query, narrows the status and finally resets both controls. Each action changes a known part of the state. A screenshot of the final list alone cannot establish whether the reset cleared the query or whether the initial data happened to resemble the expected result. The sequence gives the observation a causal interpretation.

## Make the expected outcome observable

A useful example fixture contains distinguishable entries, so filtering cannot pass simply because every item matches. The check can observe the displayed rows and current control values after each transition. Keyboard interaction can reveal whether focus remains usable when controls appear or disappear. These are suggested engineering observations, not a claim that bb ships a complete test suite for every application. The browser is an instrument for executing the scenario; the application’s requirements determine what counts as correct.

## Inspect layout at the state that matters

Responsive problems may appear only after an active filter exposes an extra chip or a longer label. A phone-size screenshot of the empty starting state would miss that condition. The relevant layout check follows the same populated state through the required screen sizes. The guide also discusses console inspection, which can explain a visible failure or reveal a request that never completed. Neither a clean console nor a neat layout independently establishes that the state transition produced the intended data.

## Report coverage with its boundaries

A useful result names the route, the interaction sequence and the observed outcome. If persistence after reload was not exercised, the report should not imply that it passed. When a failure is fixed, repeat the affected part of the scenario against the updated application. Playwright’s locator documentation provides context for reliable element selection during such work. The goal is a reproducible explanation of the checked behavior, accompanied by screenshots where they clarify the result, rather than a broad claim of product correctness.

## Primary sources

- [Let your coding agent use a browser](https://getbb.app/guides/agent-browser).

- [Playwright locators](https://playwright.dev/docs/locators).

- [Get research and reports from any site](https://getbb.app/guides/agent-browser-for-work).

Related engineering context: [Choosing an AI development stack](/journal/local-ai-app-stack-selection/); [Git state and undo](/journal/aider-git-dirty-tree-undo/).
