[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [DOM](./puppeteer.protocol.dom.md) > [GetFlattenedDocumentRequest](./puppeteer.protocol.dom.getflatteneddocumentrequest.md) > [pierce](./puppeteer.protocol.dom.getflatteneddocumentrequest.pierce.md) ## Protocol.DOM.GetFlattenedDocumentRequest.pierce property Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false). Signature: ```typescript pierce?: boolean; ```