DOMClientGetNodesForSubtreeByStyleAsync Method |
Version 130.1.90
Finds nodes with a given computed style in a subtree.
Namespace: CefSharp.DevTools.DOMAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<GetNodesForSubtreeByStyleResponse> GetNodesForSubtreeByStyleAsync(
int nodeId,
IList<CSSComputedStyleProperty> computedStyles,
bool? pierce = null
)
public:
Task<GetNodesForSubtreeByStyleResponse^>^ GetNodesForSubtreeByStyleAsync(
int nodeId,
IList<CSSComputedStyleProperty^>^ computedStyles,
Nullable<bool> pierce = nullptr
)
Parameters
- nodeId Int32
- Node ID pointing to the root of a subtree.
- computedStyles IListCSSComputedStyleProperty
- The style to filter nodes by (includes nodes if any of properties matches).
- pierce NullableBoolean (Optional)
- Whether or not iframes and shadow roots in the same target should be traversed when returning theresults (default is false).
Return Value
TaskGetNodesForSubtreeByStyleResponsereturns System.Threading.Tasks.Task<GetNodesForSubtreeByStyleResponse>
See Also