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