Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix: do not recommend yarn (#794)

Andrey Lushnikov1489fbdbffd5
diff --git a/src/server/chromium.ts b/src/server/chromium.ts
index 89d638d6c0..9d40da90b6 100644
--- a/src/server/chromium.ts
+++ b/src/server/chromium.ts
@@ -248,7 +248,7 @@ export class Chromium implements BrowserType {
_resolveExecutablePath(): { executablePath: string; missingText: string | null; } {
const browserFetcher = this._createBrowserFetcher();
const revisionInfo = browserFetcher.revisionInfo();
- const missingText = !revisionInfo.local ? `Chromium revision is not downloaded. Run "npm install" or "yarn install"` : null;
+ const missingText = !revisionInfo.local ? `Chromium revision is not downloaded. Run "npm install"` : null;
return { executablePath: revisionInfo.executablePath, missingText };
}
}
diff --git a/src/server/firefox.ts b/src/server/firefox.ts
index 81a07437d4..d349ccf6ee 100644
--- a/src/server/firefox.ts
+++ b/src/server/firefox.ts
@@ -227,7 +227,7 @@ export class Firefox implements BrowserType {
_resolveExecutablePath() {
const browserFetcher = this._createBrowserFetcher();
const revisionInfo = browserFetcher.revisionInfo();
- const missingText = !revisionInfo.local ? `Firefox revision is not downloaded. Run "npm install" or "yarn install"` : null;
+ const missingText = !revisionInfo.local ? `Firefox revision is not downloaded. Run "npm install"` : null;
return { executablePath: revisionInfo.executablePath, missingText };
}
}
diff --git a/src/server/webkit.ts b/src/server/webkit.ts
index f68f570120..ecae8464e7 100644
--- a/src/server/webkit.ts
+++ b/src/server/webkit.ts
@@ -218,7 +218,7 @@ export class WebKit implements BrowserType {
_resolveExecutablePath(): { executablePath: string; missingText: string | null; } {
const browserFetcher = this._createBrowserFetcher();
const revisionInfo = browserFetcher.revisionInfo();
- const missingText = !revisionInfo.local ? `WebKit revision is not downloaded. Run "npm install" or "yarn install"` : null;
+ const missingText = !revisionInfo.local ? `WebKit revision is not downloaded. Run "npm install"` : null;
return { executablePath: revisionInfo.executablePath, missingText };
}
}