chore: expose enabled chrome features as an array (#11141)

This commit is contained in:
Thiago Perrotta 2023-10-12 19:48:42 -04:00 committed by GitHub
parent 8b60c07735
commit b020e77991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,6 +176,8 @@ export class ChromeLauncher extends ProductLauncher {
'ProcessPerSiteUpToMainFrameThreshold',
];
const enabledFeatures = ['NetworkServiceInProcess2'];
const chromeArguments = [
'--allow-pre-commit-input',
'--disable-background-networking',
@ -200,7 +202,7 @@ export class ChromeLauncher extends ProductLauncher {
// TODO(sadym): remove '--enable-blink-features=IdleDetection' once
// IdleDetection is turned on by default.
'--enable-blink-features=IdleDetection',
'--enable-features=NetworkServiceInProcess2',
`--enable-features=${enabledFeatures.join(',')}`,
'--export-tagged-pdf',
'--force-color-profile=srgb',
'--metrics-recording-only',