'Puppeteer Sharp: avoid downloading Chromium (bundle Chromium locally)

I'm using Puppeteer Sharp in my .NET application to do some webpage automation tasks. However, I have to deploy my app in an environment that only has intranet access, which means Puppeteer's BrowserFetcher class is unable to download Chromium from the internet, since it cannot access the Chromium repositories.

Is it possible to bundle a copy of Chromium with my app, so Puppeteer does not have to download it? How would I do that? I'm not finding much in the docs about this...



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source