This patch adds the `--mute-audio` flag if chromium is launched in headless mode.
This commit is contained in:
parent
b9c7c367ef
commit
1ca7849017
@ -58,7 +58,8 @@ class Launcher {
|
||||
chromeArguments.push(
|
||||
`--headless`,
|
||||
`--disable-gpu`,
|
||||
`--hide-scrollbars`
|
||||
`--hide-scrollbars`,
|
||||
'--mute-audio'
|
||||
);
|
||||
}
|
||||
let chromeExecutable = options.executablePath;
|
||||
|
Loading…
Reference in New Issue
Block a user