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

997 B

Home > puppeteer > Protocol > DOM > GetFlattenedDocumentRequest

Protocol.DOM.GetFlattenedDocumentRequest interface

Signature:

export interface GetFlattenedDocumentRequest 

Properties

Property Type Description
depth integer 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.
pierce boolean Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).