Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(test-runner): correct warning instruction for port reuse (#12479)
Basarat Ali Syeddd83ece3cbf1
diff --git a/packages/playwright-test/src/webServer.ts b/packages/playwright-test/src/webServer.tsindex 4278403c2b..80ce99b159 100644--- a/packages/playwright-test/src/webServer.ts+++ b/packages/playwright-test/src/webServer.ts@@ -58,7 +58,7 @@ export class WebServer {if (isAlreadyAvailable) {if (this.config.reuseExistingServer)return;- throw new Error(`${this.config.url ?? `http://localhost:${this.config.port}`} is already used, make sure that nothing is running on the port/url or set strict:false in config.webServer.`);+ throw new Error(`${this.config.url ?? `http://localhost:${this.config.port}`} is already used, make sure that nothing is running on the port/url or set reuseExistingServer:true in config.webServer.`);}const { launchedProcess, kill } = await launchProcess({