Click or drag to resize

DOMClient.GetContainerForNodeAsync Method

Version 108.4.130
Returns the container of the given node based on container query conditions. If containerName is given, it will find the nearest container with a matching name; otherwise it will find the nearest container regardless of its container name.

Namespace:  CefSharp.DevTools.DOM
Assembly:  CefSharp (in CefSharp.dll) Version: 108.4.130.0 (108.4.130.0)
Syntax
public Task<GetContainerForNodeResponse> GetContainerForNodeAsync(
	int nodeId,
	string containerName = null
)

Parameters

nodeId
Type: System.Int32
nodeId
containerName (Optional)
Type: System.String
containerName

Return Value

Type: Task<GetContainerForNodeResponse>
returns System.Threading.Tasks.Task<GetContainerForNodeResponse>
See Also