You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6e57a6a
Browse filesBrowse the repository at this point in the historyBrowse files
- Move createCaptureSession inside the retry try/catch so browser launch
failures (Failed to launch the browser process, ECONNREFUSED) are also
retried — not just initializeSession errors.
- Deduplicate transient error patterns: remove "Protocol error.*Target
closed" (subsumed by "Target closed") and "Navigation failed because
browser has disconnected" (subsumed by "browser has disconnected").
- Add browser launch failure patterns: "Failed to launch the browser
process" and "ECONNREFUSED".
- Add test for createCaptureSession transient throw (browser launch retry).
- Update test mock comment to document sync requirement with engine
pattern list.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
"Navigation failed because browser has disconnected",
12
11
"browser has disconnected",
13
12
"Page crashed!",
14
13
"Execution context was destroyed",
15
14
"Cannot find context with specified id",
15
+
"Failed to launch the browser process! TROUBLESHOOTING: https://pptr.dev/troubleshooting",
16
+
"connect ECONNREFUSED 127.0.0.1:9222",
16
17
])("returns true for transient error: %s",(message)=>{
0 commit comments