Skip to content

Commit cf3077f

Browse files
Robert JacksonSantosh Sutar
andauthored
Add puppeteer launch flag to ignore https errors (#124)
Add puppeteer launch flag to ignore https errors Co-authored-by: Santosh Sutar <ssutar@ssutar-mn4.linkedin.biz>
2 parents 67c2138 + 314ddbc commit cf3077f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gather-telemetry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const puppeteer = require("puppeteer");
22
const cache = require("./cache");
33

44
module.exports = async function gatherTelemetry(url) {
5-
const browser = await puppeteer.launch();
5+
const browser = await puppeteer.launch({ ignoreHTTPSErrors: true });
66
const page = await browser.newPage();
77

88
await page.goto(url);

0 commit comments

Comments
 (0)