BrowserWindow eval script


#1

Hi!

I have a BrowserWindow object that pointing to a website.

mainWindow.loadUrl('http://example.com/');

Now I want to execute scripts on this website, so I’m looking for a method like window.eval in node-webkit, but I have not found. Anyone know?

Thanks in advance!


#2

Seems I’ve found what I needed :sweat_smile: