mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
ad1802188d
Chrome has a set of component extensions - e.g. CryptoTokenExtension that helps with 2FA. These extensions are loaded regardless of the `--disable-extensions` flag we already pass. To disable these extensions, we need to pass additional `--disable-component-extensions-with-background-pages` flag. Fix #4300
3 lines
59 B
JavaScript
3 lines
59 B
JavaScript
// Mock script for background extension
|
|
window.MAGIC = 42;
|