disable extensions and google translate by default (#774)

This patch teaches `puppeteer.launch` to run chromium with disabled
chrome extensions and google translate services.

References #760
This commit is contained in:
Andrey Lushnikov 2017-09-14 19:07:22 -07:00 committed by GitHub
parent a20df0df62
commit 86b05dadd5

View File

@ -32,10 +32,12 @@ const DEFAULT_ARGS = [
'--disable-background-timer-throttling',
'--disable-client-side-phishing-detection',
'--disable-default-apps',
'--disable-extensions',
'--disable-hang-monitor',
'--disable-popup-blocking',
'--disable-prompt-on-repost',
'--disable-sync',
'--disable-translate',
'--enable-automation',
'--enable-devtools-experiments',
'--metrics-recording-only',