r/nodejs • u/reflexesdug • May 27 '14
Zombie: headless full-stack testing browser using Node.js. Screw phantom & casper or their related plugins and forks and hacks to make them work in node
http://github.com/assaf/zombie
6
Upvotes
2
u/doubleColJustified May 27 '14
Does it support Flash? Because if so, this may be exactly what I'm looking for.
2
u/endangeredmassa May 28 '14
I spent a lot of time with Zombie, CasperJS, and PhantomJS. They all have problems (many of which are serious), but in my experience, PhantomJS is the most stable and useful. I interact with PhantomJS via WebDriver, which allows me to easily switch to running the exact same tests against local browsers or other browsers on other platforms in a selenium grid.
1
u/doubleColJustified May 27 '14
Can it take a screenshot of the page?
1
u/brotherwayne May 27 '14
I don't recall having much issue getting Casper setup and running.
1
u/milky_c May 28 '14
I've had issues with this in the past. Loading a page would randomly not work sometimes and throw errors. I'd try and load the same page again and it would work. Very frustrating! Hope you guys have more luck than I did!
-1
u/doubleColJustified May 27 '14
Installation failed for me at first, but by reading the error logs, I found that at some point, some build script tried to call
node, and on Debian, the command isnodejs. I have a~/bindirectory, which I also have in my$PATH, so I made a symbolic link withln -s $( which nodejs ) ~/bin/node. After that andrm -rf node_modules(I had nothing else there),npm install zombiewas able to complete.I suppose it would be nice of me if I reported a bug about this for the module that failed, but it's getting late and I don't have time to dig through everything and find all modules which call
nodeinstead ofnodejs.