![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Puppeteer
RGBBB
GitHub@Mehver | 打不过就加入
展开
-
Puppeteer 打开浏览器默认 about:blank 页面的解决方法
(async () => { const browser = await puppeteer.launch() const page = await browser.newPage(); await page.goto('https://github.com/SynthesisDu');})();改为(async () => { const browser = await puppeteer.launch() const pages = aw.原创 2022-02-23 20:49:03 · 2890 阅读 · 1 评论 -
Puppeteer 打开 Chromium 自适应窗口大小
(async () => { const browser = await puppeteer.launch({ defaultViewport: {width: 1300, height: 800} })})();改为(async () => { const browser = await puppeteer.launch({ defaultViewport: null })})();原创 2022-02-26 19:04:45 · 1675 阅读 · 0 评论