Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.DOM.RequestChildNodesRequest
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { RequestChildNodesRequest } = default.DOM;

Properties

nodeId: NodeId

Id of the node to get children for.

optional
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.

optional
pierce: boolean

Whether or not iframes and shadow roots should be traversed when returning the sub-tree (default is false).