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:

Parameter Type Description
text string The text to search for.
options? ElectronFindInPageOptions | undefined Options for the find request.

Returns: numberThe request id used for the request.