Files
gstack/browse/src
Garry TanandClaude Fable 5 865eaf6f2b fix(browse): guard browser.process() in resolveDisconnectCause
`.process()` only exists on browsers Playwright launched itself; a browser
from connectOverCDP() (or a test stub) has no such method, so the blind call
threw "browser?.process is not a function" inside the disconnect handler and
took down the daemon. Type-check the method before calling it and treat the
no-method case as no process handle.

Closes #2085.

Contributed by @elan2002 (PR #2434).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-14 20:20:57 -07:00
..