diff --git a/docs/src/api/class-browsertype.md b/docs/src/api/class-browsertype.md index 9f94ff4beb68c..1dad175eeca14 100644 --- a/docs/src/api/class-browsertype.md +++ b/docs/src/api/class-browsertype.md @@ -153,6 +153,10 @@ Connecting over the Chrome DevTools Protocol is only supported for Chromium-base This connection is significantly lower fidelity than the Playwright protocol connection via [`method: BrowserType.connect`]. If you are experiencing issues or attempting to use advanced functionality, you probably want to use [`method: BrowserType.connect`]. ::: +:::warning +Playwright maintains a curated list of arguments for launching the browser. If you launch the browser without Playwright and do not pass the exact same arguments, some of Playwright functionality may be broken upon connecting to the browser. +::: + **Usage** ```js diff --git a/packages/playwright-client/types/types.d.ts b/packages/playwright-client/types/types.d.ts index 0bff9d367c0b3..5676275f4f5f9 100644 --- a/packages/playwright-client/types/types.d.ts +++ b/packages/playwright-client/types/types.d.ts @@ -15351,6 +15351,10 @@ export interface BrowserType { * If you are experiencing issues or attempting to use advanced functionality, you probably want to use * [browserType.connect(endpoint[, options])](https://playwright.dev/docs/api/class-browsertype#browser-type-connect). * + * **NOTE** Playwright maintains a curated list of arguments for launching the browser. If you launch the browser + * without Playwright and do not pass the exact same arguments, some of Playwright functionality may be broken upon + * connecting to the browser. + * * **Usage** * * ```js @@ -15377,6 +15381,10 @@ export interface BrowserType { * If you are experiencing issues or attempting to use advanced functionality, you probably want to use * [browserType.connect(endpoint[, options])](https://playwright.dev/docs/api/class-browsertype#browser-type-connect). * + * **NOTE** Playwright maintains a curated list of arguments for launching the browser. If you launch the browser + * without Playwright and do not pass the exact same arguments, some of Playwright functionality may be broken upon + * connecting to the browser. + * * **Usage** * * ```js @@ -15407,6 +15415,10 @@ export interface BrowserType { * If you are experiencing issues or attempting to use advanced functionality, you probably want to use * [browserType.connect(endpoint[, options])](https://playwright.dev/docs/api/class-browsertype#browser-type-connect). * + * **NOTE** Playwright maintains a curated list of arguments for launching the browser. If you launch the browser + * without Playwright and do not pass the exact same arguments, some of Playwright functionality may be broken upon + * connecting to the browser. + * * **Usage** * * ```js diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts index 0bff9d367c0b3..5676275f4f5f9 100644 --- a/packages/playwright-core/types/types.d.ts +++ b/packages/playwright-core/types/types.d.ts @@ -15351,6 +15351,10 @@ export interface BrowserType { * If you are experiencing issues or attempting to use advanced functionality, you probably want to use * [browserType.connect(endpoint[, options])](https://playwright.dev/docs/api/class-browsertype#browser-type-connect). * + * **NOTE** Playwright maintains a curated list of arguments for launching the browser. If you launch the browser + * without Playwright and do not pass the exact same arguments, some of Playwright functionality may be broken upon + * connecting to the browser. + * * **Usage** * * ```js @@ -15377,6 +15381,10 @@ export interface BrowserType { * If you are experiencing issues or attempting to use advanced functionality, you probably want to use * [browserType.connect(endpoint[, options])](https://playwright.dev/docs/api/class-browsertype#browser-type-connect). * + * **NOTE** Playwright maintains a curated list of arguments for launching the browser. If you launch the browser + * without Playwright and do not pass the exact same arguments, some of Playwright functionality may be broken upon + * connecting to the browser. + * * **Usage** * * ```js @@ -15407,6 +15415,10 @@ export interface BrowserType { * If you are experiencing issues or attempting to use advanced functionality, you probably want to use * [browserType.connect(endpoint[, options])](https://playwright.dev/docs/api/class-browsertype#browser-type-connect). * + * **NOTE** Playwright maintains a curated list of arguments for launching the browser. If you launch the browser + * without Playwright and do not pass the exact same arguments, some of Playwright functionality may be broken upon + * connecting to the browser. + * * **Usage** * * ```js