Note from 1 August 2022

If Puppeteer fills your hard drive with many copies of Chromium, you can

  • either use puppeteer-core instead
  • or add puppeteer_skip_chromium_download=true to your .npmrc and also set puppeteer_executable_path with Chrome path