Skip to content

ElectronWebContents.findInPage method

ElectronWebContents › findInPage

Unofficial

Starts a request to find all matches for text in the web page.

Signature:

findInPage(text: string, options?: ElectronFindInPageOptions | undefined): number

Parameters:

ParameterTypeDescription
textstringThe text to search for.
options?ElectronFindInPageOptions | undefinedOptions for the find request.

Returns: numberThe request id used for the request.