pupetter create incognitor browser 1

pupetter create incognitor browser

const context = await browser.createIncognitoBrowserContext()
const page = await context.newPage()
page.setJavaScriptEnabled(false)

Here is what the above code is Doing:
1. We’re creating a new browser context.
2. We’re creating a new page in that context.
3. We’re disabling JavaScript on that page.

Similar Posts