Skip to content

Commit

Permalink
Merge pull request #409 from GSA/lc/update-puppeteer
Browse files Browse the repository at this point in the history
Update Puppeteer to v23.8.0 and Resolve Deprecated Code Issues
  • Loading branch information
luke-at-flexion authored Nov 20, 2024
2 parents c89ef49 + 10a8df0 commit 5189e20
Show file tree
Hide file tree
Showing 4 changed files with 593 additions and 140 deletions.
2 changes: 1 addition & 1 deletion libs/browser/src/puppeteer-pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const createPuppeteerPool = (
testOnBorrow: true,
puppeteerArgs: {
headless: true,
ignoreHTTPSErrors: true,
acceptInsecureCerts: true,
args: ['--no-sandbox', '--enable-logging', '--v=1'],
},
validator: () => Promise.resolve(true),
Expand Down
2 changes: 1 addition & 1 deletion libs/browser/src/puppeteer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const PuppeteerService = {

// Arguments to pass on to Puppeteer
puppeteerArgs: {
ignoreHTTPSErrors: true,
acceptInsecureCerts: true,
args: ['--no-sandbox', '--enable-logging', '--v=1'],
},
},
Expand Down
Loading

0 comments on commit 5189e20

Please sign in to comment.