domdebugger/domdebugger.go
func (p *GetEventListenersParams) Do(ctx context.Context) (listeners []*EventListener, err error) {
	// execute
	var res GetEventListenersReturns
	err = cdp.Execute(ctx, CommandGetEventListeners, p, &res)
	if err != nil {
		return nil, err
	}

	return res.Listeners, nil
}
func (p *GetEventListenersParams) Do(ctx context.Context) (listeners []*EventListener, err error) {
	// execute
	var res GetEventListenersReturns
	err = cdp.Execute(ctx, CommandGetEventListeners, p, &res)
	if err != nil {
		return nil, err
	}

	return res.Listeners, nil
}
// Do executes DOMDebugger.getEventListeners against the provided context.
//
// returns:
//   listeners - Array of relevant listeners.