revert: capture attach wait

This commit is contained in:
zhom committed 2026-10-19 16:15:58 +04:00
1 parent 54ec49d8b0
commit a340005d94
1 file changed
+1 -3
+1 -3
View File
@@ -797,8 +797,6 @@ async fn pump(
ready: tokio::sync::oneshot::Sender<Result<(), String>>,
) {
let mut ready = Some(ready);
// A tab opened while the capture runs waits until its Network domain is
// on, so its first request is not missed; `attached` lets it go.
let attach = connection
.send_to(
None,
@@ -806,7 +804,7 @@ async fn pump(
"Target.setAutoAttach",
json!({
"autoAttach": true,
"waitForDebuggerOnStart": true,
"waitForDebuggerOnStart": false,
"flatten": true,
"filter": [{ "type": "page" }],
}),