parent
335d22d376
commit
6afa874714
|
@ -534,12 +534,15 @@ func (h *TargetHandler) pageEvent(ctxt context.Context, ev interface{}) {
|
||||||
case *page.EventFrameClearedScheduledNavigation:
|
case *page.EventFrameClearedScheduledNavigation:
|
||||||
id, op = e.FrameID, frameClearedScheduledNavigation
|
id, op = e.FrameID, frameClearedScheduledNavigation
|
||||||
|
|
||||||
|
// ignored events
|
||||||
case *page.EventDomContentEventFired:
|
case *page.EventDomContentEventFired:
|
||||||
return
|
return
|
||||||
case *page.EventLoadEventFired:
|
case *page.EventLoadEventFired:
|
||||||
return
|
return
|
||||||
case *page.EventFrameResized:
|
case *page.EventFrameResized:
|
||||||
return
|
return
|
||||||
|
case *page.EventLifecycleEvent:
|
||||||
|
return
|
||||||
|
|
||||||
default:
|
default:
|
||||||
h.errorf("unhandled page event %s", reflect.TypeOf(ev))
|
h.errorf("unhandled page event %s", reflect.TypeOf(ev))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user