chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.dom / GetNodesForSubtreeByStyleRequest

GetNodesForSubtreeByStyleRequest

data class GetNodesForSubtreeByStyleRequest

Request object containing input parameters for the DOMDomain.getNodesForSubtreeByStyle command.

Constructors

<init>

Request object containing input parameters for the DOMDomain.getNodesForSubtreeByStyle command.

GetNodesForSubtreeByStyleRequest(nodeId: NodeId, computedStyles: List<CSSComputedStyleProperty>, pierce: Boolean? = null)

Properties

computedStyles

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

val computedStyles: List<CSSComputedStyleProperty>

nodeId

Node ID pointing to the root of a subtree.

val nodeId: NodeId

pierce

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

val pierce: Boolean?