DOMClientDescribeNodeAsync Method |
Version 112.3.0
Describes node given its id, does not require domain to be enabled. Does not start tracking any
objects, can be used for automation.
Namespace:
CefSharp.DevTools.DOM
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 112.3.0.0
Syntax public Task<DescribeNodeResponse> DescribeNodeAsync(
int? nodeId = null,
int? backendNodeId = null,
string objectId = null,
int? depth = null,
bool? pierce = null
)
public:
Task<DescribeNodeResponse^>^ DescribeNodeAsync(
Nullable<int> nodeId = nullptr,
Nullable<int> backendNodeId = nullptr,
String^ objectId = nullptr,
Nullable<int> depth = nullptr,
Nullable<bool> pierce = nullptr
)
Parameters
- nodeId (Optional)
- Type: SystemNullableInt32
Identifier of the node. - backendNodeId (Optional)
- Type: SystemNullableInt32
Identifier of the backend node. - objectId (Optional)
- Type: SystemString
JavaScript object id of the node wrapper. - depth (Optional)
- Type: SystemNullableInt32
The maximum depth at which children should be retrieved, defaults to 1. Use -1 for theentire subtree or provide an integer larger than 0. - pierce (Optional)
- Type: SystemNullableBoolean
Whether or not iframes and shadow roots should be traversed when returning the subtree(default is false).
Return Value
Type:
TaskDescribeNodeResponsereturns System.Threading.Tasks.Task<DescribeNodeResponse>
See Also