diff --git a/packages/puppeteer-core/src/node/ChromeLauncher.ts b/packages/puppeteer-core/src/node/ChromeLauncher.ts index 42425f1af89..b8e8f55a28c 100644 --- a/packages/puppeteer-core/src/node/ChromeLauncher.ts +++ b/packages/puppeteer-core/src/node/ChromeLauncher.ts @@ -209,7 +209,7 @@ export class ChromeLauncher extends ProductLauncher { '--disable-default-apps', '--disable-dev-shm-usage', '--disable-extensions', - `--disable-features=${disabledFeatures.join(',')}`, + '--disable-field-trial-config', // https://source.chromium.org/chromium/chromium/src/+/main:testing/variations/README.md '--disable-hang-monitor', '--disable-ipc-flooding-protection', '--disable-popup-blocking', @@ -218,16 +218,14 @@ export class ChromeLauncher extends ProductLauncher { '--disable-search-engine-choice-screen', '--disable-sync', '--enable-automation', - // TODO(sadym): remove '--enable-blink-features=IdleDetection' once - // IdleDetection is turned on by default. - '--enable-blink-features=IdleDetection', - `--enable-features=${enabledFeatures.join(',')}`, '--export-tagged-pdf', '--force-color-profile=srgb', '--metrics-recording-only', '--no-first-run', '--password-store=basic', '--use-mock-keychain', + `--disable-features=${disabledFeatures.join(',')}`, + `--enable-features=${enabledFeatures.join(',')}`, ]; const { devtools = false,