Is there a way to disable thi security popup when running tests?

34 views
Skip to first unread message

Juraj M.

unread,
3:37 AM (2 hours ago) 3:37 AM
to Chromium Extensions
My extension overrides New tab page, so each time I run tests I see this popup and I can't get rid of it.

Screenshot 2026-01-21 092743.png

I've asked AI but it only hallucinated these flags which didn't helped:
'--disable-infobars',
'--disable-popup-blocking',
'--disable-component-update',
'--disable-background-networking',
'--disable-sync',
'--no-first-run',
'--disable-features=ExtensionInstallVerification,SettingsLandingPageRedesign',
`--disable-features=ExtensionSettingsOverridden`,

woxxom

unread,
4:07 AM (1 hour ago) 4:07 AM
to Chromium Extensions, Juraj M.
Try  --test-type=gpu

Juraj M.

unread,
4:31 AM (1 hour ago) 4:31 AM
to Chromium Extensions, woxxom, Juraj M.
Sadly, it doesn't help.
I think I was fixing this or similar issues before, and I was able to fix some of them by using the "Preferences" and "Secure Preferences" files in the "Default" folder in the main profile.
And those things works great, but only during development when I load the extension with web-ext.
Somehow when Pupeteer starts it, this specific modal setting is reset or not set or something... but all the other settings like where on the screen should the Chrome start works fine.
I think Pupeteer "installs" the extension which resets the option but web-ext loads it instead. (just guessing here of course) 

woxxom

unread,
5:08 AM (22 minutes ago) 5:08 AM
to Chromium Extensions, Juraj M., woxxom
Chromium's own test sets "ack_ntp_bubble":true preference to disable this bubble.
Try setting puppeteer's prefs through its own API: https://stackoverflow.com/a/58473581
Reply all
Reply to author
Forward
0 new messages