When comparing Zombie.js vs NW.js (w/xvfb), the Slant community recommends Zombie.js for most people. In the question“What are the best headless browsers for testing?” Zombie.js is ranked 2nd while NW.js (w/xvfb) is ranked 3rd. The most important reason people chose Zombie.js is:
Ranked in these QuestionsQuestion Ranking
Pro Runs on Node.js
Pro Fully featured api based interaction and assertion
The way the api is built makes it very easy to add to your test framework.
Pro Claims to be "Insanely Fast"
Pro Node integration
The integration of Node with the DOM in NW.js opens up a number of new options in how your headless testing workflow can be facilitated.
Pro NaCl support/integration
Access to the Native Client offers up more options in implementing your testing workflow.
Con Support has waned
As of August 19, 2016, Zombie hasn't received a commit since January 2016. Issues get comments like "patch welcome".
Con Stale documentation
Full API documentation has been missing since the start, making it frustrating to use.
Con Fails to load many sites
Con No screen-shot
As it doesn't render the page, you cannot get a screenshot to for testing or reporting test failures.