Web Application Testing
Use the already-running managed preview and the native browser tools. Never install a browser,
launch a second browser process, write a Playwright/Python test harness, or start another dev server.
Verification flow
- Open the app's internal
http://localhost:<port>URL once. - Capture one screenshot with one explicit visual acceptance criterion. Use its PASS/FAIL
assessment instead of inferring quality from image size.
- For one representative functional interaction, call
browser_observeonce. Choose one exact
hyphenated element ref from its accessibility tree and call browser_act with that ref plus the
required method/value.
- Read the post-action tree returned by
browser_actto decide whether the criterion passed. If
the user explicitly requires another interaction, use its fresh ref directly with browser_act.
- If a criterion fails, fix the concrete app defect and repeat only that changed criterion once.
Each ref is page-bound and single-use. A successful browser_act atomically replaces the consumed
observation with its post-action tree, so chain required interactions from those fresh refs without
re-observing. Observe again only when the page changed outside browser_act, navigated, or the
returned tree does not contain the required element. Never invent a ref or selector.
Finish as soon as the requested content renders, the representative interaction passes, and no
blocking browser error remains. Do not repeat equivalent screenshots, actions, or extractions.