This is a little program I wrote when first testing out Google's new tool Puppeteer. It takes a URL, runs it through a list of devices and saves the result as a screenshot, one for each device.
$ npm install
$ URL=https://www.google.com/ node index.js
Expects a folder named screenshots in root.