help with headless testing
Hi, I'd like some pointers to try to run perfmap on phantomjs/casperjs to store a screenshot of the test. I did some testing following my experience on phantomjs but it seems that just injecting the element wont work:
https://gist.github.com/gleicon/bfc006ab267cf3f6dc76
Sorry, I haven't done any work with phantomjs. I'll tag as "help wanted" and someone might help you out.
@gleicon, unfortunately PhantomJS does not support Navigation Timing API - https://github.com/ariya/phantomjs/issues/10570:
console.log(typeof window.performance); // undefined
However, it does work on SlimerJS (which uses Gecko engine)
https://gist.github.com/macbre/9f23f314d8a3ff69313b
npm install -g slimerjs
awesome ! thanks :D
I have done some work with phantomjs, jasmine and grunt. check my pull request.