Automate browser with Javascript and Electron using NightmareJS

Damn, this is so fucking awesome. Automating your browser using Electron with NightmareJS. Electron is being funded by Github and its competitor is NWJS funded by Intel. So we have a good platform to simulate browser and interact with it. Using PhantomJS on its core.

So if you want to start just make sure you have installed everything for the NodeJS dev environment, that includes:

Once you have it, you can copy any of this examples and type: node file.js

Yahoo search example:

Save this as yahoo.js and run it: node yahoo.js  

You can check the whole API Documentation on its repo in github:



Leave a Reply