fix: incognito browser context in puppeteer is gone

This commit is contained in:
Nolan Lawson 2024-02-17 09:06:50 -08:00
parent 8e95517ed4
commit d56f294f02
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ async function addAndRemovePicker (page) {
async function main () {
await waitForServerReady()
const browser = await puppeteer.launch({ headless: 'new' })
const context = await browser.createIncognitoBrowserContext() // not sure why Addy uses incognito, but sure
const context = await browser.createBrowserContext()
const page = await context.newPage()
await page.goto('http://localhost:3000/')