Skip to content

Commit

Permalink
change puppeteer haadless to new
Browse files Browse the repository at this point in the history
  • Loading branch information
eerison committed Feb 3, 2025
1 parent ee799d8 commit d82d035
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion node/file-generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ import { fileURLToPath } from "url";

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

Expand Down

0 comments on commit d82d035

Please sign in to comment.