Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
luca.carrisi committed Oct 22, 2024
1 parent 2f8d3b3 commit 927d122
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PuppeteerInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ async function initializePuppeteer() {
"--no-sandbox",
"--accept-lang=it",
"--disable-setuid-sandbox",
"--disable-features=RendererCodeIntegrity",
"--enable-logging",
"--v=1",
],
executablePath: process.env?.OLD_PUPPETEER_BROWSER_PATH ?? "",
})
.catch((err) => {
console.error("Failed to launch Puppeteer:", err);
Expand Down
2 changes: 1 addition & 1 deletion src/launchScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async function run(

if (browser) {
console.error("closing puppeteer");
await browser.close();
await browser.process()?.kill()
}

return finalResults;
Expand Down

0 comments on commit 927d122

Please sign in to comment.