Repository navigation
Browser Bridge 0.19.2 fixes session recording from capture through HTML replay and MP4 export, and replaces the branded replay shell with a clean, unbranded player.
Clean HTML replay
- Removed the FRACTURE logo and decorative header. A compact bottom bar retains play/pause, scrubbing, time, speed, skip-idle, fullscreen and interaction-overlay controls.
- The supplied replay title remains in the HTML metadata. Playback stays self-contained and offline-capable.
Reliable capture and masking
- Register the server's recording sink before injecting the recorder, preserving the initial Meta/full snapshot even when a child iframe loads slowly.
- Reject duplicate starts on the same tab without replacing the active recorder or truncating a different output file.
- Flush final clicks and DOM mutations on navigation; acknowledge and deduplicate batches, with a session-storage outbox across socket interruptions and worker restarts.
- Stop frames independently with bounded waits and warnings for unresponsive frames. Reject incomplete streams instead of producing a successful-looking replay without a base snapshot.
- With
maskInputs:true, mask open shadow-root inputs, contenteditable text and identifying printable key codes as well as ordinary form values.
Visible canvases and correctly sized MP4s
- Display captured canvas bitmaps reliably inside script-disabled replay iframes, including 2D, WebGL, same-origin iframe and open-shadow canvases. Canvas frames are scoped by document and node ID so navigation and backward seeking do not mix them up.
- Wait for decoding, replay reconstruction, layout and painting before export screenshots, while keeping the replay sandbox intact.
- Export at the initial recorded viewport multiplied by
scale, independent of the viewer window. A 1600×1000 recording produces 1600×1000 at 1× and 3200×2000 at 2×. Results include encodedwidthandheight; H.264 dimensions round down to even pixels. - Preserve legacy synchronous export harness compatibility. Include minimal unbranded controls with
chrome:true; page-only output remains the default. - Clean up export tabs and temporary files after failures, and publish the MP4 only after encoding completes.
Additional fixes
- Enforce download size limits even when a transfer finishes before the first status poll.
- Install ffmpeg for CI exports, support isolated Chromium tests on Linux, and retain hidden e2e artifacts.
Validation
- 255 server tests and 95 complete-suite e2e tests passed locally.
- Six new recording e2e scenarios assert lifecycle behavior, masked data, composited screenshot pixels, decoded MP4 pixels, exact dimensions at 1×/2×, legacy export compatibility and failure cleanup.
- Additional targeted export checks cover fractional scale and odd source dimensions. Builds and TypeScript checks passed.
Known Linux limitation
Linux Chromium can still throttle hidden-tab frames despite keepAlive:true, delaying trusted actions and rAF commits. The existing hidden-tab-raf-commit e2e scenario remains failing on Linux; its assertions are retained. Use tab_activate when an action needs an immediate rendered result. All recording and export scenarios passed on Linux.
Upgrade
Update server and extension together, rebuild both, and reinstall/restart the user service:
git pull --ff-only
( cd server && npm ci && npm run build )
( cd extension && npm ci && npm run build )
( cd server && npm run install-service )Toggle Browser Bridge Off → On at chrome://extensions, then verify both versions are 0.19.2 with bridge_status. Manually started servers should be stopped and started with cd server && npm start instead. Existing tokens and MCP configuration stay valid.
Existing saved HTML keeps its embedded player. Generate a new replay to receive the clean UI and rendering fixes. Input masking remains off by default; opt in with maskInputs:true.