Earlier quoted context omitted.
Yes, it uses puppeteer(headless chrome). For the .DS_Store I totally forgot to put .gitignore :)
The version from NPM is 0.3.2 but the GitHub docs are for 1.0.1? Looks like the --url option doesn't (yet) exist on NPM.
Screenshoteer – Command-line website screenshots and mobile emulations
11–20 of 32 posts
Re: Screenshoteer – Command-line website screenshots and mobile emulations
#12Maybe the interface could be simplified: you're always going to give it URLs so you can allow those as non-option arguments (also can you pass it multiple URLs?).
Re: Screenshoteer – Command-line website screenshots and mobile emulations
#13Re: Screenshoteer – Command-line website screenshots and mobile emulations
#14Cool, I was just looking for something like this. A useful feature would be the possibility to screenshot a specific element only instead of the whole page (using something like https://github.com/GoogleChrome/puppeteer/blob/master/docs/a... ). Also an option to set the ouput filename is a must for scripting !
screenshoteer --url https://news.ycombinator.com/item?id=18598672 --el ".fatitem"
Re: Screenshoteer – Command-line website screenshots and mobile emulations
#15Earlier quoted context omitted.
Yes, it uses puppeteer(headless chrome). For the .DS_Store I totally forgot to put .gitignore :)
The version from NPM is 0.3.2 but the GitHub docs are for 1.0.1? Looks like the --url option doesn't (yet) exist on NPM.
Re: Screenshoteer – Command-line website screenshots and mobile emulations
#16Nice. I made something almost exactly like this using puppeteer as well except it took screenshots of all the pages of a site. It crawled first getting all site pages, then created a JSON config file that would be used to take screenshots with. I should really throw this up on GitHub as well. Funnily enough, I called mine: Screenshotr
Re: Screenshoteer – Command-line website screenshots and mobile emulations
#17Re: Screenshoteer – Command-line website screenshots and mobile emulations
#18Earlier quoted context omitted.
The version from NPM is 0.3.2 but the GitHub docs are for 1.0.1? Looks like the --url option doesn't (yet) exist on NPM.
That is super strange.. I never inserted 0.3.2. The current version is 1.0.1
Re: Screenshoteer – Command-line website screenshots and mobile emulations
#19Nice. I made something almost exactly like this using puppeteer as well except it took screenshots of all the pages of a site. It crawled first getting all site pages, then created a JSON config file that would be used to take screenshots with. I should really throw this up on GitHub as well. Funnily enough, I called mine: Screenshotr
Please do. Yours sounds a bit more comprehensive than the current state of OP's.
Re: Screenshoteer – Command-line website screenshots and mobile emulations
#20I made something very similar a few months back: https://github.com/astronomersiva/mockgen
This basically generates screenshots with Puppeteer and merges them with a device mock.