
3

命令行截取网页图片工具-Screenshoteer
source link: http://osp.io/archives/7409
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

命令行截取网页图片工具-Screenshoteer – 开源派
Screenshoteer是一款命令行的截取网页图片或手机模拟的开源工具。工具基于puppeteer,由Javascript编写。遵守MIT开源协议。

NPM安装
npm i -g screenshoteer
命令行使用:
screenshoteer --url https://www.example.com
或本地 .html 的地址。如下
screenshoteer --url file:///Users/../index.html
screenshoteer --url file:///C:/Users/../Random-HTML-file.html
其他参数:
h 帮助
–url web page url
–emulate – 模拟手机设备,如: –emulate “iPhone 6”
–pdf – 产生pdf文件
https://github.com/vladocar/screenshoteer
</div
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK