A little late to the question, but I found this tutorial helpful for Electron beginner.
It breaks down the main concepts, with step-by-step codes from creating the app to searching the text.
How to Find the Text on Page in ElectronJS?