Skip to content

Commit

Permalink
Debugging puppeteer in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
theruther4d committed Jul 27, 2021
1 parent 05b6325 commit 03f27f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ const server = http.createServer((req, res) => {
(async () => {
server.listen(3000);

const browser = await puppeteer.launch();
const browser = await puppeteer.launch({
args: ["--no-sandbox", "--disable-setuid-sandbox"],
});
const page = await browser.newPage();

await page.goto("http://localhost:3000", {
Expand Down

1 comment on commit 03f27f0

@vercel
Copy link

@vercel vercel bot commented on 03f27f0 Jul 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.