getNodesForSubtreeByStyle
suspend fun getNodesForSubtreeByStyle(args: DOM.GetNodesForSubtreeByStyleParameter, mode: CommandMode = CommandMode.DEFAULT): DOM.GetNodesForSubtreeByStyleReturn
Finds nodes with a given computed style in a subtree.
suspend fun getNodesForSubtreeByStyle(nodeId: Int, computedStyles: List<DOM.CSSComputedStyleProperty>, pierce: Boolean? = null): DOM.GetNodesForSubtreeByStyleReturn
Finds nodes with a given computed style in a subtree.
Parameters
nodeId
Node ID pointing to the root of a subtree.
computedStyles
The style to filter nodes by (includes nodes if any of properties matches).
pierce
Whether or not iframes and shadow roots in the same target should be traversed when returning the results (default is false).