This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// How to: save as capture.js and run with "phantomjs capture.js" | |
// Setup by modifying URLS, PAGE_WIDTH AND PAGE_HEIGHT constants! | |
// Hint: set PAGE_WIDTH or PAGE_HEIGHT to 0 to capture full page! | |
// modified version of script at http://www.cameronjtinker.com/post/2011/09/26/Take-Screenshot-of-all-HTML-documents-in-a-folder-using-PhantomJS.aspx | |
var PAGE_WIDTH = 960; | |
var PAGE_HEIGHT = 640; | |
var URLS = [ | |
"http://github.com", |