Tell Puppeteer to open Chrome tab instead of window
问题 If I have an existing Google Chrome window open, I'd like to tell puppeteer to open a new tab instead of opening a new window. Is there a way to do that? is there some option or flag I can pass to puppeteer to accomplish this? I have: const puppeteer = require('puppeteer'); (async function () { const b = await puppeteer.launch({ devtools: true, openInExistingWindow: true /// ? something like this? }); const page = await b.newPage(); await page.goto('https://example.com'); })(); 回答1: const