Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
acfasj committed Mar 19, 2024
1 parent ebf842c commit 2a541a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions chromedp.go
Expand Up @@ -615,6 +615,11 @@ func responseAction(resp **network.Response, actions ...Action) Action {
finished = true
lcancel()
}
case *page.EventFrameStoppedLoading:
if hasInit && ev.FrameID == frameID {
finished = true
lcancel()
}
}
}
// earlyEvents is a buffered list of events which happened
Expand Down

0 comments on commit 2a541a5

Please sign in to comment.