摘要:
/在文档上下文里执行脚本,并返回结果(async () => { const browser = await puppeteer.launch({ args: ['--no-sandbox'], timeout: 10000, }); const page = await browser.newPa 阅读全文
摘要:
const puppeteer = require('puppeteer'); puppeteer.launch().then(async browser => { const page = await browser.newPage(); //设置启用拦截 await page.setReques 阅读全文