Skip to content

Commit

Permalink
Merge pull request cnumr#35 from jpreisner/fix/fermeture-des-pages
Browse files Browse the repository at this point in the history
fix(cnumr#27): Suppression de la fermeture des pages déjà fermées à la fin de l'analyse
  • Loading branch information
jules-delecour-dav authored Apr 14, 2022
2 parents d62466e + 3ad8e58 commit 7a3b6ef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions commands/analyse.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ async function analyse_core(options) {
reports = await createJsonReports(browser, pagesInformations, options, proxy, headers);
} finally {
//close browser
let pages = await browser.pages();
await Promise.all(pages.map(page =>page.close()));
await browser.close()
}
//create report
Expand Down

0 comments on commit 7a3b6ef

Please sign in to comment.