4 ms·
Cool, 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 (usi
by ajnin 8y ago
Cool, 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/api.md#elementhandlescreenshotoptions https://github.com/GoogleChrome/puppeteer/blob/master/docs/a... ). Also an option to set the ouput filename is a must for scripting !
- vladocar 8y agoI just pushed the version 1.0.2 to npm. Now you can do this: screenshoteer --url https://news.ycombinator.com/item?id=18598672 https://news.ycombinator.com/item?id=18598672 --el ".fatitem"