chore: improve docs (#9105)

This PR makes some improvements to the documentation. It migrates
docker, debugging, and chrome extension documentation to the `guides`
folder and also updates some of the terminology.
This commit is contained in:
jrandolf
2022-10-13 10:46:53 +02:00
committed by GitHub
parent 8acafe2fd9
commit 1fbc3c643f
7 changed files with 316 additions and 613 deletions

View File

@@ -159,8 +159,11 @@ export function resolveExecutablePath(
path: downloadPath,
});
if (!_isPuppeteerCore && product === 'chrome') {
const revision = process.env['PUPPETEER_CHROMIUM_REVISION'];
if (!_isPuppeteerCore) {
let revision = process.env['PUPPETEER_BROWSER_REVISION'];
if (product === 'chrome') {
revision ??= process.env['PUPPETEER_CHROMIUM_REVISION'];
}
if (revision) {
const revisionInfo = browserFetcher.revisionInfo(revision);
const missingText = !revisionInfo.local