ElectronWebContentsModule.getFocusedWebContents method
ElectronWebContentsModule › getFocusedWebContents
Unofficial
Returns the web contents that is focused in this application, otherwise returnsnull. Signature:
getFocusedWebContents(): ElectronWebContents | nullReturns: ElectronWebContents | null — The focused WebContents, or null if none is focused.