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
docs(test): clarify which launch options apply with connectOptions (#43109)
Lazizbek Ergasheva18dade00769
diff --git a/docs/src/test-api/class-testoptions.md b/docs/src/test-api/class-testoptions.mdindex ef35630c18..16a82e25b0 100644--- a/docs/src/test-api/class-testoptions.md+++ b/docs/src/test-api/class-testoptions.md@@ -197,7 +197,7 @@ export default defineConfig({});```-When connect options are specified, default [`property: Fixtures.browser`], [`property: Fixtures.context`] and [`property: Fixtures.page`] use the remote browser instead of launching a browser locally, and any launch options like [`property: TestOptions.headless`] or [`property: TestOptions.channel`] are ignored.+When connect options are specified, default [`property: Fixtures.browser`], [`property: Fixtures.context`] and [`property: Fixtures.page`] use the remote browser instead of launching a browser locally.## property: TestOptions.contextOptions* since: v1.10diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.tsindex 068ea455ab..1b6826812a 100644--- a/packages/playwright/types/test.d.ts+++ b/packages/playwright/types/test.d.ts@@ -7143,9 +7143,7 @@ export interface PlaywrightWorkerOptions {* [fixtures.browser](https://playwright.dev/docs/api/class-fixtures#fixtures-browser),* [fixtures.context](https://playwright.dev/docs/api/class-fixtures#fixtures-context) and* [fixtures.page](https://playwright.dev/docs/api/class-fixtures#fixtures-page) use the remote browser instead of- * launching a browser locally, and any launch options like- * [testOptions.headless](https://playwright.dev/docs/api/class-testoptions#test-options-headless) or- * [testOptions.channel](https://playwright.dev/docs/api/class-testoptions#test-options-channel) are ignored.+ * launching a browser locally.*/connectOptions: ConnectOptions | undefined;/**