Click or drag to resize

DOMClientGetNodesForSubtreeByStyleAsync Method

Version 87.1.132
Finds nodes with a given computed style in a subtree.

Namespace:  CefSharp.DevTools.DOM
Assembly:  CefSharp (in CefSharp.dll) Version: 87.1.132.0 (87.1.132.0)
Syntax
public Task<GetNodesForSubtreeByStyleResponse> GetNodesForSubtreeByStyleAsync(
	int nodeId,
	IList<CSSComputedStyleProperty> computedStyles,
	Nullable<bool> pierce = null
)

Parameters

nodeId
Type: SystemInt32
Node ID pointing to the root of a subtree.
computedStyles
Type: System.Collections.GenericIListCSSComputedStyleProperty
The style to filter nodes by (includes nodes if any of properties matches).
pierce (Optional)
Type: SystemNullableBoolean
Whether or not iframes and shadow roots in the same target should be traversed when returning theresults (default is false).

Return Value

Type: TaskGetNodesForSubtreeByStyleResponse
returns System.Threading.Tasks.Task<GetNodesForSubtreeByStyleResponse>
See Also