3 ms·
Quick nit: you can take screenshots with PhantomJS [0], exposed in casperjs as `capture` [1] [0] http://phantomjs.org/screen-capture.html http://phantomjs.org/
by jaredmcdonald 12y ago
Quick nit: you can take screenshots with PhantomJS [0], exposed in casperjs as `capture` [1]
[0] http://phantomjs.org/screen-capture.html http://phantomjs.org/screen-capture.html
[1] http://docs.casperjs.org/en/latest/modules/casper.html#capture http://docs.casperjs.org/en/latest/modules/casper.html#captu...
- mootothemax 12y agoQuick nit: you can take screenshots with PhantomJS Sorry, that's my fault for not going into more detail :) The big issue I have with PhantomJ's screenshots is that it doesn't support web fonts, and so pages don't render correctly.
- backwardm 12y agoJust FYI, I found a script (typekit.js) that allowed me to get PhantomJS to render TypeKit fonts nicely: https://github.com/bramstein/phantomjs-typekit https://github.com/bramstein/phantomjs-typekit
- tdumitrescu 12y agoLooks like web fonts work out of the box in phantomjs 2.0 (not released yet, but nightly source and binaries available): https://github.com/ariya/phantomjs/issues/10592 https://github.com/ariya/phantomjs/issues/10592