puppeteer in cognito browser code example
Example 1: pupetter create incognitor browser
const context = await browser.createIncognitoBrowserContext()
const page = await context.newPage()
page.setJavaScriptEnabled(false)
Example 2: pupetter create incognitor browser
const context = await browser.defaultBrowserContext();
const page = await context.newPage();