Node.js & 页面截图 & 生成画报
https://zzk.cnblogs.com/my/s/blogpost-p?Keywords=headless
solution
- 使用 template 页面的 iframe 内嵌 url
- node 渲染 template 页面, 导出 画报/PDF
puppeteer
Headless Chrome Node API
https://github.com/puppeteer/puppeteer
https://github.com/GoogleChrome/puppeteer
https://github.com/puppeteer/puppeteer#what-can-i-do
demos
https://try-puppeteer.appspot.com/
https://render-tron.appspot.com/
refs
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!