| DOMClientPerformSearchAsync Method  | 
Version 90.6.50 
            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 (in CefSharp.dll) Version: 90.6.50.0 (90.6.50.0)
 Syntax
Syntaxpublic Task<PerformSearchResponse> PerformSearchAsync(
	string query,
	Nullable<bool> includeUserAgentShadowDOM = null
)
public:
Task<PerformSearchResponse^>^ PerformSearchAsync(
	String^ query, 
	Nullable<bool> includeUserAgentShadowDOM = nullptr
)
Parameters
- query
- Type: SystemString
 Plain text or query selector or XPath search query.
- includeUserAgentShadowDOM (Optional)
- Type: SystemNullableBoolean
 True to search in user agent shadow DOM.
Return Value
Type: 
TaskPerformSearchResponsereturns System.Threading.Tasks.Task<PerformSearchResponse>
 See Also
See Also