GetNodesForSubtreeByStyleRequest

@Serializable
data class GetNodesForSubtreeByStyleRequest(val nodeId: NodeId, val computedStyles: List<CSSComputedStyleProperty>, val pierce: Boolean? = null)(source)

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

Constructors

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

Types

Link copied to clipboard
class Builder(val nodeId: NodeId, val computedStyles: List<CSSComputedStyleProperty>)

Properties

Link copied to clipboard

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

Link copied to clipboard

Node ID pointing to the root of a subtree.

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).