fix: add --disable-field-trial-config (#11352)

This commit is contained in:
Alex Rudenko 2023-11-10 14:33:25 +01:00 committed by GitHub
parent 0533764aac
commit cbc33bea40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,