Printable idea sheet
docs_playwright_capture
reqlan rq/docs/docs.rq:37
Katz 0.045
Playwright loads each built webview via a harness page with a mocked `acquireVsCodeApi` host,
posts demo index / context payloads, and writes PNGs into assets.
Generated assets replace the former coloured SVG stubs ( activity-bar, montage-ide, chat-search, file-link ).
Wait for document load, then the shot ready selector. The Ideas Summary montage shot waits longer because the bundle is large.
On a ready-selector timeout, print page errors and `#app` HTML.
Runs as a step in build-static.mts before presentation sync.
CI installs Chromium via `pnpm exec playwright install --with-deps chromium`.
- implementation
- capture.mts, catalog.ts, write-harnesses.ts, PresentationPlayer.tsx
- status
- done
Interactive page: docs_playwright_capture