puppeteer/new-docs/puppeteer.protocol.dom.getdocumentrequest.depth.md
2020-07-13 14:01:35 +01:00

615 B

Home > puppeteer > Protocol > DOM > GetDocumentRequest > depth

Protocol.DOM.GetDocumentRequest.depth property

The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.

Signature:

depth?: integer;