Click or drag to resize

PageClientSearchInResourceAsync Method

Version 112.3.0
Searches for given string in resource content.

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

Parameters

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

Return Value

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