GetNodesForSubtreeByStyleRequest

data class GetNodesForSubtreeByStyleRequest(nodeId: NodeId, computedStyles: List<CSSComputedStyleProperty>, pierce: Boolean?)

Represents request frame that can be used with DOM#getNodesForSubtreeByStyle operation call.

Finds nodes with a given computed style in a subtree.

See also

Constructors

GetNodesForSubtreeByStyleRequest
Link copied to clipboard
fun GetNodesForSubtreeByStyleRequest(nodeId: NodeId, computedStyles: List<CSSComputedStyleProperty>, pierce: Boolean? = null)

Properties

computedStyles
Link copied to clipboard
val computedStyles: List<CSSComputedStyleProperty>
The style to filter nodes by (includes nodes if any of properties matches).
nodeId
Link copied to clipboard
val nodeId: NodeId
Node ID pointing to the root of a subtree.
pierce
Link copied to clipboard
val pierce: Boolean? = null
Whether or not iframes and shadow roots in the same target should be traversed when returning the results (default is false).

Sources

jvm source
Link copied to clipboard