mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
Run headless chromium with --hide-scrollbars
This patch runs chromium in headless mode with the --hide-scrollbars flag so that it doesn't spoil screenshots. Fixes #68.
This commit is contained in:
@@ -50,6 +50,7 @@ class Browser {
|
||||
this._chromeArguments.push(...[
|
||||
`--headless`,
|
||||
`--disable-gpu`,
|
||||
`--hide-scrollbars`,
|
||||
]);
|
||||
}
|
||||
if (typeof options.executablePath === 'string') {
|
||||
|
||||
Reference in New Issue
Block a user