DOMClientGetElementByRelationAsync Method |
Version 130.1.90
Returns the NodeId of the matched element according to certain relations.
Namespace: CefSharp.DevTools.DOMAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<GetElementByRelationResponse> GetElementByRelationAsync(
int nodeId,
GetElementByRelationRelation relation
)
public:
Task<GetElementByRelationResponse^>^ GetElementByRelationAsync(
int nodeId,
GetElementByRelationRelation relation
)
Parameters
- nodeId Int32
- Id of the node from which to query the relation.
- relation GetElementByRelationRelation
- Type of relation to get.
Return Value
TaskGetElementByRelationResponsereturns System.Threading.Tasks.Task<GetElementByRelationResponse>
See Also