
You should find Puppeteer executes successfully, provided proper Chrome flags are used. Chrome will write into /tmp instead.Īdd your JavaScript to your container with a COPY instruction. Deprecation notice: We are moving our efforts to v, a new free & open source knowledge base for Puppeteer AND Playwright.Idea is the same: practical examples and guides, by the community.

I ultimately just need to get the data somewhere accessible by Google AppScript. Using these flags could allow malicious web content to escape the browser process and compromise the host. My main issue is I don't understand how to actually handle file downloads in Puppeteer, I'm currently just editing the default download location for the google chrome instance puppeteer creates.


Setting this flag explicitly instructs Chrome not to try and use GPU-based rendering. disable-gpu – The GPU isn’t usually available inside a Docker container, unless you’ve specially configured the host.
