Click or drag to resize

PageClient.SearchInResourceAsync Method

Version 91.1.160
Searches for given string in resource content.

Namespace:  CefSharp.DevTools.Page
Assembly:  CefSharp (in CefSharp.dll) Version: 91.1.160.0 (91.1.160.0)
Syntax
public Task<SearchInResourceResponse> SearchInResourceAsync(
	string frameId,
	string url,
	string query,
	Nullable<bool> caseSensitive = null,
	Nullable<bool> isRegex = null
)

Parameters

frameId
Type: System.String
Frame id for resource to search in.
url
Type: System.String
URL of the resource to search in.
query
Type: System.String
String to search for.
caseSensitive (Optional)
Type: System.Nullable<Boolean>
If true, search is case sensitive.
isRegex (Optional)
Type: System.Nullable<Boolean>
If true, treats string parameter as regex.

Return Value

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