How to use the _preferredRevision function from puppeteer
Find comprehensive JavaScript puppeteer._preferredRevision code examples handpicked from public code repositorys.
GitHub: browserless/chrome
56 57 58 59 60 61 62 63 64 65
if (pptrPackageJSON.puppeteer) { return pptrPackageJSON.puppeteer.chromium_revision; } if (puppeteer._preferredRevision) { return puppeteer._preferredRevision; } const pptr = require('./node_modules/puppeteer-core/lib/cjs/puppeteer/revisions'); return pptr.PUPPETEER_REVISIONS.chromium;
521
0
0
puppeteer.launch is the most popular function in puppeteer (5121 examples)