diff --git a/src/install/browserFetcher.ts b/src/install/browserFetcher.ts index 04d7df50b4..eadc8e53b2 100644 --- a/src/install/browserFetcher.ts +++ b/src/install/browserFetcher.ts @@ -54,6 +54,8 @@ export async function downloadBrowserWithProgressBar(registry: Registry, browser let lastDownloadedBytes = 0; function progress(downloadedBytes: number, totalBytes: number) { + if (!process.stderr.isTTY) + return; if (!progressBar) { progressBar = new ProgressBar(`Downloading ${progressBarName} - ${toMegabytes(totalBytes)} [:bar] :percent :etas `, { complete: '=',