Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.DOM.GetNodesForSubtreeByStyleRequest
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.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).