DOMClientGetNodeForLocationAsync Method |
Version 87.1.132
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 (in CefSharp.dll) Version: 87.1.132.0 (87.1.132.0)
Syntax public Task<GetNodeForLocationResponse> GetNodeForLocationAsync(
int x,
int y,
Nullable<bool> includeUserAgentShadowDOM = null,
Nullable<bool> ignorePointerEventsNone = null
)
public:
Task<GetNodeForLocationResponse^>^ GetNodeForLocationAsync(
int x,
int y,
Nullable<bool> includeUserAgentShadowDOM = nullptr,
Nullable<bool> ignorePointerEventsNone = nullptr
)
Parameters
- x
- Type: SystemInt32
X coordinate. - y
- Type: SystemInt32
Y coordinate. - includeUserAgentShadowDOM (Optional)
- Type: SystemNullableBoolean
False to skip to the nearest non-UA shadow root ancestor (default: false). - ignorePointerEventsNone (Optional)
- Type: SystemNullableBoolean
Whether to ignore pointer-events: none on elements and hit test them.
Return Value
Type:
TaskGetNodeForLocationResponsereturns System.Threading.Tasks.Task<GetNodeForLocationResponse>
See Also