Skip to content

Fix the macOS browser-bridge DOM event timeout #95

Description

@abrichr

Failure

On 2026-08-26, TestBrowserBridge::test_dom_event_capture timed out after 20 seconds at await ws.recv(). The same failure occurs on exact main base 5ed28e6 and geometry head 50f7423, so it isn't part of the native geometry change.

The bridge starts, accepts the WebSocket connection, and passes the preceding connection and mode tests. The DOM event case then waits forever for a message. Without a test timeout, the process keeps port 8766 open and blocks every later bridge fixture.

Reproduce on macOS with:

python -m pytest -vv -s --timeout=20 \
  tests/test_browser_bridge.py::TestBrowserBridge::test_dom_event_capture

Done when

  • The test has a bounded wait and reports the missing event instead of hanging.
  • The supported bridge contract either delivers the DOM event or the obsolete test is removed with evidence that no supported consumer needs it.
  • The complete browser-bridge file finishes on macOS and Linux.
  • No fix moves browser recording from Flow's Playwright-native path into native Capture.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions