{"repo":"cenfun/puppeteer-chromium-resolver","free":true,"listed":false,"github":"https://github.com/cenfun/puppeteer-chromium-resolver","clone":"git clone https://github.com/cenfun/puppeteer-chromium-resolver.git","description":"Tool to resolve puppeteer and chromium faster","language":"JavaScript","stars":71,"topics":["puppeteer","chromium","resolver","headless-chrome","mirror","cache","launchable"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"Puppeteer Chromium Resolver Tool to resolve puppeteer and chromium faster, detect local installed chromium, download chromium with custom mirror host, cache chromium revision out of node modules, test chromium headless being launchable. Tool to customize puppeteer Detect local chromium automatically Download chromium from custom mirror host Cache chromium to custom local folder Try launching chromium and resolve launchable and version Resolve chromium executablePath and puppeteer Install Usage [Async] dynamic detection and downloading chromium [Sync] chromium will be pre-downloaded when PCR installation, so calling getStats() will get PCR stats from previous installation. Default Options see lib/options.js Option from root package.json with \"pcr\" object Return Stats Property Type :-------------- :------ :---------------------- revision String current chromium revision executablePath String chromium executable path chromiumVersion String chromium version launchable Boolean chromium launchable puppeteerVersion String puppeteer version puppeteer Object puppeteer module Test Cases see test/test.js How to make puppeteer work with puppeteer-chromium-resolver 1, Sets env PUPPETEER SKIP DOWNLOAD to skip download Chromium when installation (.npmrc) 2, Sets env PUPPETEER EXECUTABLE PATH to PCR executablePath globally or pass in launch option executablePath Troubleshooting - CentOS: error while loading shared libraries: libatk-1.0.so.0: cannot open shared objecsuch file or directory - D","default_branch":null,"files":null,"tree":[],"storefront":"/r/cenfun","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cenfun/puppeteer-chromium-resolver/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}