I\'m trying to write a wrapper for Twitter using Electron (formerly Atom Shell).
My main.js file (it looks almost identical to the \"Hello World\" examp
main.js
I have solved the problem. Here's the example code:
... app.on('ready', function() { ... mainWindow.webContents.on('did-finish-load', function() { mainWindow.webContents.executeJavaScript("alert('Hello There!');"); }); ... });