Headless is a Node.js wrapper for Xvfb, the virtual framebuffer
I have to nightmare script inside xvfb. ``` xvfb-run node cnn.js ``` cnn.js has.... ``` var Nightmare = require('../nightmare'); var vo = require('vo'); vo(run)(function(err, result) { if (err) throw err; }); function *run() { var nightmare = Nightmare(); var title = yield nightmare .goto('http://cnn.com') .evaluate(function() { return document.title; }); console.log(title); yield nightmare.end(); } ``` is there a way to write the whole code inside X Virtual Frame Buffer, so that we can execute in normal way `node cnn.js` instead of `xvfb-run node cnn.js`
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by sriducati and has received 0 comments.