Click or drag to resize

DOMClientPerformSearchAsync Method

Version 130.1.90
Searches for a given string in the DOM tree. Use `getSearchResults` to access search results or `cancelSearch` to end this search session.

Namespace: CefSharp.DevTools.DOM
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<PerformSearchResponse> PerformSearchAsync(
	string query,
	bool? includeUserAgentShadowDOM = null
)

Parameters

query  String
Plain text or query selector or XPath search query.
includeUserAgentShadowDOM  NullableBoolean  (Optional)
True to search in user agent shadow DOM.

Return Value

TaskPerformSearchResponse
returns System.Threading.Tasks.Task<PerformSearchResponse>
See Also