--hide-scrollbars

main
Mike Fix 3 years ago
parent 96325691ed
commit 0ee06a9aa6
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -44,7 +44,7 @@ export default async function id(req, res) {
} }
const browser = await puppeteer.launch({ const browser = await puppeteer.launch({
args: chrome.args, args: [...chrome.args, '--hide-scrollbars'],
defaultViewport: chrome.defaultViewport, defaultViewport: chrome.defaultViewport,
executablePath: await chrome.executablePath, executablePath: await chrome.executablePath,
headless: chrome.headless, headless: chrome.headless,

Loading…
Cancel
Save