Puppeteer – Headless or Normal mode

When you run puppeteer, you can either to run it in headless mode or normal mode, headless is a little bit faster. Which one you should use? In my case , i select them for a few reason:

  • Normal mode: i need to load a chrome extension to do fix the NTLM authentication
  • Headless mode: i use it since, we have a site using certificate authentication, it has a popup. i couldn’t find a way to get rid of that certificate menu. Running in headless mode force Chrome to not authenticate with certificate.

Leave a Reply

Your email address will not be published. Required fields are marked *