How does webview communicate in electron

how does webview (externally linked site) in electron communicate (send + receive)?
if you use preload, it will only be executed when the page is loaded for the first time, and then it will not be loaded when you switch back.

Menu