Skip to content

Commit

Permalink
added 'new' mode for puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
o-smirnov committed Sep 22, 2023
1 parent fafb16c commit 36f2ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radiopadre/html/puppeteer-html-thumbnail.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ delay = parseInt(args[4]);

(async () => {
const browser = await puppeteer.launch({
headless: true,
headless: 'new',
args: ['--no-sandbox', '--disable-setuid-sandbox']
});
const page = await browser.newPage();
Expand Down

0 comments on commit 36f2ce2

Please sign in to comment.