4 ms·
can you share your code for doing the screencaps? there are a few posts about it online but would love more detail on the setup.
by paulirish 15y ago
can 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)