puppeteer/new-docs/puppeteer.protocol.domdebugger.geteventlistenersrequest.md
2020-07-13 14:01:35 +01:00

1.3 KiB

Home > puppeteer > Protocol > DOMDebugger > GetEventListenersRequest

Protocol.DOMDebugger.GetEventListenersRequest interface

Signature:

export interface GetEventListenersRequest 

Properties

Property Type Description
depth integer The maximum depth at which Node children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.
objectId Runtime.RemoteObjectId Identifier of the object to return listeners for.
pierce boolean Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false). Reports listeners for all contexts if pierce is enabled.