mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix(Launcher): launch chrome with --disable-dev-shm-usage by default (#2351)
Fixes #1834.
This commit is contained in:
parent
0b64242f85
commit
18f2ecdffd
@ -35,6 +35,7 @@ const DEFAULT_ARGS = [
|
|||||||
'--disable-background-timer-throttling',
|
'--disable-background-timer-throttling',
|
||||||
'--disable-client-side-phishing-detection',
|
'--disable-client-side-phishing-detection',
|
||||||
'--disable-default-apps',
|
'--disable-default-apps',
|
||||||
|
'--disable-dev-shm-usage',
|
||||||
'--disable-extensions',
|
'--disable-extensions',
|
||||||
'--disable-hang-monitor',
|
'--disable-hang-monitor',
|
||||||
'--disable-popup-blocking',
|
'--disable-popup-blocking',
|
||||||
|
@ -46,7 +46,7 @@ const defaultBrowserOptions = {
|
|||||||
executablePath,
|
executablePath,
|
||||||
slowMo,
|
slowMo,
|
||||||
headless,
|
headless,
|
||||||
args: ['--no-sandbox', '--disable-dev-shm-usage']
|
args: ['--no-sandbox']
|
||||||
};
|
};
|
||||||
|
|
||||||
let parallel = 1;
|
let parallel = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user