I've spent about an hour reading gist after repo after blog post, but can't seem to figure out how to do do this.
I have a BrowserWindow
instance loading a URL (that I control), with nodeIntegration: false
.
From the main process, I'd like to communicate with the rendered URL. I'm getting confused between preload
scripts, BrowserWindow.send
and executeJavascript
paradigms.
The data I want to send is very large (eg. file uploads between 50kb and 10mb).
What's the best way to do this? Any any examples/tutorials you may know about would be helpful. Thanks!