This commit is contained in:
Dung Nguyen 2022-02-27 08:12:56 +07:00
parent c9849ef7b6
commit 1851cd1843

View File

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