![]() ![]() The problem is I haven't found any Puppeteer configuration I can use for such purpose. Force my users to download Chromium at runtime (at first usage for example).Download Chromium selectively at packaging time (still on dev machine).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. Download all-platform Chromium when npm install (on dev machine) Puppeteer is a Node library which provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol.Click this button on the bottom right: Click on the New button under System variables: Enter the variable name and value as given below: Key. ![]() I should be able to do one of the following: Puppeteer is a Node.js library which provides a high-level API to control Chrome/Chromium over the DevTools Protocol. Search this term Edit the system environment variables in Start Menu and open it. Being current platform Linux, this very version of Chromium is then shipped regardlessly on every platform's app. The problem is: Chromium is downloaded at npm install time, and it's done selectively based on the current platform. It works nice-and-smooth except for this issue:Ĭhromium is not downloaded exception is thrown when the app is executed on a platform different than the one the app has been packaged on.īetter said, I'm developing on a Linux environment and I'm packaging my app for both Linux and Windows, Linux app works fine, Windows app doesn't. I'm building a UI-automator with Puppeteer and I'm shipping it as a Electron-packaged app. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |