Use Electron's webContents.findInPage() method to search text within the renderer process, and webContents.stopFindInPage() to clear results, mimicking browser Ctrl+F functionality.
webContents.findInPage()
webContents.stopFindInPage()