This commit is contained in:
Dung Nguyen 2022-03-03 00:43:18 +07:00
parent 51459b6dd4
commit 115c3fb013

View File

@ -50,7 +50,7 @@ const CONFIG = {
}; };
puppeteer puppeteer
.launch({ headless: false, args: ["--no-sandbox"] }) .launch({ headless: true, args: ["--no-sandbox"] })
.then(async (browser) => { .then(async (browser) => {
const page = await browser.newPage(); const page = await browser.newPage();
await page.setViewport({ width: 1366, height: 768 }); await page.setViewport({ width: 1366, height: 768 });