Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface Protocol.DOM.GetNodesForSubtreeByStyleRequest
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
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).