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 bc8ba9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chromedp.go
Expand Up @@ -608,7 +608,7 @@ func responseAction(resp **network.Response, actions ...Action) Action {
if ev.FrameID == frameID && ev.Name == "init" {
hasInit = true
}
case *page.EventLoadEventFired:
case *page.EventLoadEventFired, *page.EventFrameStoppedLoading:
// Ignore load events before the "init"
// lifecycle event, as those are old.
if hasInit {
Expand Down

0 comments on commit bc8ba9f

Please sign in to comment.