fix: incognito browser context in puppeteer is gone
This commit is contained in:
parent
8e95517ed4
commit
d56f294f02
|
@ -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/')
|
||||
|
||||
|
|
Loading…
Reference in New Issue