[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [DOM](./puppeteer.protocol.dom.md) > [GetDocumentRequest](./puppeteer.protocol.dom.getdocumentrequest.md) > [depth](./puppeteer.protocol.dom.getdocumentrequest.depth.md) ## 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: ```typescript depth?: integer; ```