There are many opportunities to require screenshots of the website. Although it is OK to capture the Web browser as it is, it is a problem that the frame and function extension of the Web browser are reflected. There are times when you always want to specify with different window sizes, not necessarily desktop.
Electroshot wants to use it there. Electron screenshot shooting software.
How to use Electroshot
Electroshot will be CLI. Basically you just pass the URL.
$ electroshot http://www.moongift.jp 1024 x 768
Then headless Chrome gets up and shoots a screenshot.
You can also specify the size in numbers or device names such as iPhone 6. The format to save is JPEG / PNG / PDF. It is also possible to specify the detailed shooting method as well as clipping.
Electroshot is open source software (BSD) made by Electron / JavaScript.
No comments:
Post a Comment