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

Properties

nodeId: NodeId

Node ID pointing to the root of a subtree.

computedStyles: CSSComputedStyleProperty[]

The style to filter nodes by (includes nodes if any of properties matches).

optional
pierce: boolean

Whether or not iframes and shadow roots in the same target should be traversed when returning the results (default is false).