
Finally, we’ll click on the download button. Puppeteer uses several defaults that can be customized through configurationįor example, to change the default cache directory Puppeteer uses to installīrowsers, you can add a. Puppeteer version:1.2 Platform / OS version: mac 10.13.4 URLs (if applicable): Node.js version: 8. Then we’ll find the download button on the page. Include $HOME/.cache into the project's deployment.įor a version of Puppeteer without the browser installation, see If you prefer to download the the latest version of Chromium before. Your project folder (see an example below) because not all hosting providers Python Pyppeteer is one of the best headless browser options you can use with for. Heroku, you might need to reconfigure the location of the cache to be within If you deploy a project using Puppeteer to a hosting provider, such as Render or First make a directory which you will be working with by right clicking on your preferred location and choosing new folder.

The browser is downloaded to the $HOME/.cache/puppeteer folderīy default (starting with Puppeteer v19.0.0). Requirements - For this you'll need a recent version of NodeJs (tested with version 14.14.0). This gave me a good excuse to try and automate the process as much as possible using puppeteer. When you install Puppeteer, it automatically downloads a recent version ofĬhrome for Testing (~170MB macOS, ~282MB Linux, ~280MB Windows) that is guaranteed to Puppeteer - login and video download Friday, 15 January 2021 6 min read TL DR I needed to download a video that was behind a login screen.
