top | item 15070910

(no title)

umpox | 8 years ago

Pretty cool! Check out Google's headless browser API Puppeteer too, they provide a few really useful functions for doing stuff like this.

https://github.com/GoogleChrome/puppeteer/blob/master/exampl...

Really easy to work around, I used it to build a simple CLI to generate device screenshots of a webpage by modifying the user-agent and resolution to match each device.

https://github.com/umpox/generateDeviceScreenshots

discuss

order

esbenp|8 years ago

Yeah I think Puppeteer is a very cool project. Unfortunately, it came out literally one or two days after i finished the initial version of pdf-bot. Maybe I will incorporate it soon! :-)