I try to run my test.js file below with the command:
DEBUG=nightmare node --harmony test.js
and taking output:
nightmare queueing action "goto" for http://google.com +0ms
nightmare queueing action "wait" +2ms
nightmare queueing action "screenshot" +0ms
test.js:
var Nightmare = require('nightmare');
var google = new Nightmare()
.goto('http://google.com')
.wait()
.screenshot("./screen.png")
.run(function(err, nightmare) {
if (err) return console.log(err);
console.log('Done!');
});
No screenshot and link access. Is there any idea?
note: i am working on Virtual Box with Linux Guest.