3 ms·
PhantomJS is great, although there are some bugs in the WebKit embedded inside QT because it's a bit old, it has the advantage of supporting flash plugins and i
by owyn 15y ago
PhantomJS is great, although there are some bugs in the WebKit embedded inside QT because it's a bit old, it has the advantage of supporting flash plugins and it can do screen caps. I'm using it for a project now.
- paulirish 15y agocan you share your code for doing the screencaps? there are a few posts about it online but would love more detail on the setup.
- owyn 15y agoIt's a one liner. Once a page is loaded into the browser: page.render(path_to_output); I think it can save in PDF, GIF and PNG formats (it checks the extension on the filename to determine format)