Click or drag to resize

DOMClientGetNodeForLocationAsync Method

Version 130.1.90
Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is either returned or not.

Namespace: CefSharp.DevTools.DOM
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<GetNodeForLocationResponse> GetNodeForLocationAsync(
	int x,
	int y,
	bool? includeUserAgentShadowDOM = null,
	bool? ignorePointerEventsNone = null
)

Parameters

x  Int32
X coordinate.
y  Int32
Y coordinate.
includeUserAgentShadowDOM  NullableBoolean  (Optional)
False to skip to the nearest non-UA shadow root ancestor (default: false).
ignorePointerEventsNone  NullableBoolean  (Optional)
Whether to ignore pointer-events: none on elements and hit test them.

Return Value

TaskGetNodeForLocationResponse
returns System.Threading.Tasks.Task<GetNodeForLocationResponse>
See Also