AI Browser Access (Local Validation)
This guide shows how to validate browser access to the SCBE visual system in a reproducible way.
Goal
Confirm an automated browser can reach the local UI and render the app shell.
Steps
- Start the visual system dev server:
npm --prefix scbe-visual-system run dev -- --host 0.0.0.0 --port 4173
- Run browser automation (Playwright/MCP) against:
http://127.0.0.1:4173/
- Capture evidence (title + screenshot).
Expected Signals
- Page title resolves (example:
Gemini Ink). - Screenshot shows the desktop/app shell loaded.
Troubleshooting
- If tests fail with PQC runtime errors (
liboqsmissing), keep browser validation independent from PQC tests. - If you see
Unknown option–runInBand`` from Vitest, use one of:npm --prefix scbe-visual-system run test:runnpm --prefix scbe-visual-system run test:serialVitest does not support Jest’s--runInBandflag.
- Prefer backend fallback strategy for PQC in CI:
liboqs(primary)pypqc/pqcrypto(fallback)- deterministic mock backend for non-crypto test lanes
Artifact Policy
Treat browser artifacts as operational validation only. They do not define canonical protocol behavior.