diff --git a/buildtools/check-example.js b/buildtools/check-example.js index 04ea43465cd0..0c757f238a14 100644 --- a/buildtools/check-example.js +++ b/buildtools/check-example.js @@ -122,8 +122,10 @@ function loaded(page, browser) { } (async () => { browser = await puppeteer.launch({ - args: ['--no-sandbox', '--disable-web-security', '--single-process'], + args: ['--no-sandbox', '--disable-web-security', '--single-process', '--incognito'], headless: true, + // Don't store the user data + userDataDir: '/dev/null', }); const page = await browser.newPage();