Click or drag to resize

DOMClientGetElementByRelationAsync Method

Version 130.1.90
Returns the NodeId of the matched element according to certain relations.

Namespace: CefSharp.DevTools.DOM
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
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

TaskGetElementByRelationResponse
returns System.Threading.Tasks.Task<GetElementByRelationResponse>
See Also