Skip to content

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

chore: remove the legacy webServer accessor from the config (#22245)

Pavel Feldman9ced1e278def
diff --git a/packages/playwright-test/src/common/types.ts b/packages/playwright-test/src/common/types.ts
index 1b045c1053..d61bc75537 100644
--- a/packages/playwright-test/src/common/types.ts
+++ b/packages/playwright-test/src/common/types.ts
@@ -55,11 +55,6 @@ type ConfigInternal = {
export interface FullConfigInternal extends FullConfigPublic {
_internal: ConfigInternal;
- /**
- * If populated, this should also be the first/only entry in _webServers. Legacy singleton `webServer` as well as those provided via an array in the user-facing playwright.config.{ts,js} will be in `_webServers`. The legacy field (`webServer`) field additionally stores the backwards-compatible singleton `webServer` since it had been showing up in globalSetup to the user.
- */
- webServer: FullConfigPublic['webServer'];
-
// Overrides the public field.
projects: FullProjectInternal[];
}