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.DOMAssembly: 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
)
public:
Task<GetNodeForLocationResponse^>^ GetNodeForLocationAsync(
int x,
int y,
Nullable<bool> includeUserAgentShadowDOM = nullptr,
Nullable<bool> ignorePointerEventsNone = nullptr
)
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
TaskGetNodeForLocationResponsereturns System.Threading.Tasks.Task<GetNodeForLocationResponse>
See Also