安装
步骤一:新建目录puppeteerProject
步骤二:初始化项目npm init
步骤三:npm i puppeteer

中途会下载Chromium,大小300M
保存路径\node_modules\puppeteer\.local-chromium\win64-588429\chrome-win32

相关资料:
chrome headless
https://developers.google.cn/web/updates/2017/04/headless-chrome
https://developers.google.com/web/updates/2017/04/headless-chrom

puppeteer
https://github.com/GoogleChrome/puppeteer
https://github.com/GoogleChromeLabs/puppeteer-examples
https://www.npmjs.com/package/puppeteer

chrome金丝雀版
https://www.google.com/chrome/canary/

api
https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md

Puppeteer 入门教程
http://www.r9it.com/20171106/puppeteer.html

无头浏览器Puppeteer初探
https://juejin.im/post/59e5a86c51882578bf185dba

作者 铁血 汉子 2018年9月28日
2018/12/19/07:27:09am 2018/9/28/8:50:25
0 150