get Nodes For Subtree By Style
suspend fun getNodesForSubtreeByStyle(input: GetNodesForSubtreeByStyleRequest): GetNodesForSubtreeByStyleResponse
Finds nodes with a given computed style in a subtree.
Note: this function uses an input class, and constructing this class manually may lead to incompatibilities if the class's constructor arguments change in the future. For maximum compatibility, it is advised to use the overload of this function that directly takes the mandatory parameters as arguments, and the optional ones from a configuration lambda.
inline suspend fun getNodesForSubtreeByStyle(nodeId: NodeId, computedStyles: List<CSSComputedStyleProperty>, optionalArgs: GetNodesForSubtreeByStyleRequest.Builder.() -> Unit = {}): GetNodesForSubtreeByStyleResponse
Finds nodes with a given computed style in a subtree.
Parameters
node Id
Node ID pointing to the root of a subtree.
computed Styles
The style to filter nodes by (includes nodes if any of properties matches).