Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.DOM.RequestChildNodesRequest

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.DOM.RequestChildNodesRequest
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { RequestChildNodesRequest } = Protocol.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).