mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.3 KiB
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. |