Click or drag to resize

DOMClientQuerySelectorAsync Method

Version 101.0.180
Executes `querySelector` on a given node.

Namespace:  CefSharp.DevTools.DOM
Assembly:  CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public Task<QuerySelectorResponse> QuerySelectorAsync(
	int nodeId,
	string selector
)

Parameters

nodeId
Type: SystemInt32
Id of the node to query upon.
selector
Type: SystemString
Selector string.

Return Value

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