Another solution I tried was manually removing the HeadlessChrome substring from the userAgent in case the site was blocking it, but that didnt work either. Puppeteer quick start Install and run Puppeteer. Get started Overview of Puppeteer An explanation of what Puppeteer is and the things it can do. It can also be configured to use full (non-headless) Chrome or Chromium. My research suggests that the browser is closing before the download completes possibly? Ive added a wait of about 15 seconds, which is much longer than it should need to download the file, but still not getting anything. Puppeteer is a Node library which provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol. Im able to run it with no problems while headless: false, but when headless:true, the file does not download. ![]() Im running a script that logs into an authenticated session on a website and clicks a button to download an excel file.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |