-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathflags.js
More file actions
29 lines (29 loc) · 1.03 KB
/
flags.js
File metadata and controls
29 lines (29 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// See all flags here: http://peter.sh/experiments/chromium-command-line-switches/
module.exports = {
DEFAULT_FLAGS: [
// Skip first run wizards
'--no-first-run',
],
NOISE_FLAGS: [
// Disable built-in Google Translate service
'--disable-translate',
// Disable all chrome extensions entirely
'--disable-extensions',
// Disable various background network services, including extension updating,
// safe browsing service, upgrade detector, translate, UMA
'--disable-background-networking',
// Disable fetching safebrowsing lists, likely redundant due to disable-background-networking
'--safebrowsing-disable-auto-update',
// Disable syncing to a Google account
'--disable-sync',
// Disable reporting to UMA, but allows for collection
'--metrics-recording-only',
// Disable installation of default apps on first run
'--disable-default-apps',
],
HEADLESS_FLAGS: [
// https://developers.google.com/web/updates/2017/04/headless-chrome
'--headless',
'--disable-gpu'
],
}