From 5700b8930a6dbfd279e9f7c42043c4354e79e954 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Thu, 13 Jun 2024 14:54:59 -0700 Subject: [PATCH] docs: default timeout in library is 30 seconds Fixes https://github.com/microsoft/playwright/issues/31306 --- docs/src/api/class-browsercontext.md | 2 +- docs/src/api/class-page.md | 2 +- docs/src/api/class-websocket.md | 2 +- docs/src/api/params.md | 6 +- packages/playwright-core/src/client/page.ts | 1 + .../src/common/timeoutSettings.ts | 1 + packages/playwright-core/types/types.d.ts | 460 +++++++++--------- 7 files changed, 238 insertions(+), 236 deletions(-) diff --git a/docs/src/api/class-browsercontext.md b/docs/src/api/class-browsercontext.md index 3ea2180873..9f735d697d 100644 --- a/docs/src/api/class-browsercontext.md +++ b/docs/src/api/class-browsercontext.md @@ -1648,7 +1648,7 @@ Event name, same one would pass into `browserContext.on(event)`. * langs: js - `optionsOrPredicate` ?<[function]|[Object]> - `predicate` <[function]> Receives the event data and resolves to truthy value when the waiting should resolve. - - `timeout` ?<[float]> Maximum time to wait for in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [`method: BrowserContext.setDefaultTimeout`] method. + - `timeout` ?<[float]> Maximum time to wait for in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default value can be changed via `actionTimeout` option in the config, or by using the [`method: BrowserContext.setDefaultTimeout`] method. Either a predicate that receives an event or an options object. Optional. diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md index 6f8d04ceb4..139a496c92 100644 --- a/docs/src/api/class-page.md +++ b/docs/src/api/class-page.md @@ -4335,7 +4335,7 @@ frame = event_info.value * langs: js - `optionsOrPredicate` ?<[function]|[Object]> - `predicate` <[function]> Receives the event data and resolves to truthy value when the waiting should resolve. - - `timeout` ?<[float]> Maximum time to wait for in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [`method: BrowserContext.setDefaultTimeout`] or [`method: Page.setDefaultTimeout`] methods. + - `timeout` ?<[float]> Maximum time to wait for in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default value can be changed via `actionTimeout` option in the config, or by using the [`method: BrowserContext.setDefaultTimeout`] or [`method: Page.setDefaultTimeout`] methods. Either a predicate that receives an event or an options object. Optional. diff --git a/docs/src/api/class-websocket.md b/docs/src/api/class-websocket.md index 3b3308b885..f3b1f9d028 100644 --- a/docs/src/api/class-websocket.md +++ b/docs/src/api/class-websocket.md @@ -86,7 +86,7 @@ Event name, same one would pass into `webSocket.on(event)`. * langs: js - `optionsOrPredicate` ?<[function]|[Object]> - `predicate` <[function]> Receives the event data and resolves to truthy value when the waiting should resolve. - - `timeout` ?<[float]> Maximum time to wait for in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [`method: BrowserContext.setDefaultTimeout`] or [`method: Page.setDefaultTimeout`] methods. + - `timeout` ?<[float]> Maximum time to wait for in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default value can be changed via `actionTimeout` option in the config, or by using the [`method: BrowserContext.setDefaultTimeout`] or [`method: Page.setDefaultTimeout`] methods. Either a predicate that receives an event or an options object. Optional. diff --git a/docs/src/api/params.md b/docs/src/api/params.md index a1dd84c4ef..4af87f17ca 100644 --- a/docs/src/api/params.md +++ b/docs/src/api/params.md @@ -22,7 +22,7 @@ The default value can be changed by using the * langs: js - `timeout` <[float]> -Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `navigationTimeout` option in the config, or by using the [`method: BrowserContext.setDefaultNavigationTimeout`], +Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default value can be changed via `navigationTimeout` option in the config, or by using the [`method: BrowserContext.setDefaultNavigationTimeout`], [`method: BrowserContext.setDefaultTimeout`], [`method: Page.setDefaultNavigationTimeout`] or [`method: Page.setDefaultTimeout`] methods. @@ -38,7 +38,7 @@ value can be changed by using the [`method: BrowserContext.setDefaultTimeout`] o * langs: js - `timeout` <[float]> -Maximum time to wait for in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [`method: BrowserContext.setDefaultTimeout`] or [`method: Page.setDefaultTimeout`] methods. +Maximum time to wait for in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default value can be changed via `actionTimeout` option in the config, or by using the [`method: BrowserContext.setDefaultTimeout`] or [`method: Page.setDefaultTimeout`] methods. ## input-strict - `strict` <[boolean]> @@ -58,7 +58,7 @@ using the [`method: BrowserContext.setDefaultTimeout`] or * langs: js - `timeout` <[float]> -Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [`method: BrowserContext.setDefaultTimeout`] or +Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default value can be changed via `actionTimeout` option in the config, or by using the [`method: BrowserContext.setDefaultTimeout`] or [`method: Page.setDefaultTimeout`] methods. ## input-no-wait-after diff --git a/packages/playwright-core/src/client/page.ts b/packages/playwright-core/src/client/page.ts index 84848e433d..66d22283b1 100644 --- a/packages/playwright-core/src/client/page.ts +++ b/packages/playwright-core/src/client/page.ts @@ -446,6 +446,7 @@ export class Page extends ChannelOwner implements api.Page private async _waitForEvent(event: string, optionsOrPredicate: WaitForEventOptions, logLine?: string): Promise { return await this._wrapApiCall(async () => { const timeout = this._timeoutSettings.timeout(typeof optionsOrPredicate === 'function' ? {} : optionsOrPredicate); + console.log('timeout', timeout, '\n\n\n\n'); const predicate = typeof optionsOrPredicate === 'function' ? optionsOrPredicate : optionsOrPredicate.predicate; const waiter = Waiter.createForEvent(this, event); if (logLine) diff --git a/packages/playwright-core/src/common/timeoutSettings.ts b/packages/playwright-core/src/common/timeoutSettings.ts index 65c8be1ecf..de81527575 100644 --- a/packages/playwright-core/src/common/timeoutSettings.ts +++ b/packages/playwright-core/src/common/timeoutSettings.ts @@ -31,6 +31,7 @@ export class TimeoutSettings { setDefaultTimeout(timeout: number | undefined) { this._defaultTimeout = timeout; + console.log('timeoutSettings.ts: setDefaultTimeout: this._defaultTimeout: ', this._defaultTimeout, new Error().stack); } setDefaultNavigationTimeout(timeout: number | undefined) { diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts index 76d12b2d9a..c5f828e312 100644 --- a/packages/playwright-core/types/types.d.ts +++ b/packages/playwright-core/types/types.d.ts @@ -2008,8 +2008,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -2093,8 +2093,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -2209,8 +2209,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -2275,8 +2275,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -2344,8 +2344,8 @@ export interface Page { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -2507,8 +2507,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -2533,8 +2533,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -2610,8 +2610,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -2939,8 +2939,8 @@ export interface Page { */ goBack(options?: { /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -2969,8 +2969,8 @@ export interface Page { */ goForward(options?: { /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -3023,8 +3023,8 @@ export interface Page { referer?: string; /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -3100,8 +3100,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -3131,8 +3131,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -3156,8 +3156,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -3186,8 +3186,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -3211,8 +3211,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -3242,8 +3242,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -3268,8 +3268,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -3293,8 +3293,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -3644,8 +3644,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -3660,8 +3660,8 @@ export interface Page { */ reload(options?: { /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -3902,8 +3902,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -3964,8 +3964,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -3986,8 +3986,8 @@ export interface Page { */ setContent(html: string, options?: { /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -4111,8 +4111,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -4216,8 +4216,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -4248,8 +4248,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -4299,8 +4299,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -4359,8 +4359,8 @@ export interface Page { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -4658,8 +4658,8 @@ export interface Page { */ waitForLoadState(state?: "load"|"domcontentloaded"|"networkidle", options?: { /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -4694,8 +4694,8 @@ export interface Page { */ waitForNavigation(options?: { /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -4827,8 +4827,8 @@ export interface Page { */ waitForURL(url: string|RegExp|((url: URL) => boolean), options?: { /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -5712,8 +5712,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -5799,8 +5799,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -5887,8 +5887,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -5953,8 +5953,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6008,8 +6008,8 @@ export interface Frame { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6062,8 +6062,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6088,8 +6088,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6153,8 +6153,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6504,8 +6504,8 @@ export interface Frame { referer?: string; /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -6581,8 +6581,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6612,8 +6612,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6637,8 +6637,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6667,8 +6667,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6692,8 +6692,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6723,8 +6723,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6749,8 +6749,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6771,8 +6771,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -6946,8 +6946,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -7040,8 +7040,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -7102,8 +7102,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -7124,8 +7124,8 @@ export interface Frame { */ setContent(html: string, options?: { /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -7207,8 +7207,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -7273,8 +7273,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -7305,8 +7305,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -7356,8 +7356,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -7416,8 +7416,8 @@ export interface Frame { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -7462,8 +7462,8 @@ export interface Frame { */ waitForLoadState(state?: "load"|"domcontentloaded"|"networkidle", options?: { /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -7497,8 +7497,8 @@ export interface Frame { */ waitForNavigation(options?: { /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -7554,8 +7554,8 @@ export interface Frame { */ waitForURL(url: string|RegExp|((url: URL) => boolean), options?: { /** - * Maximum operation time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `navigationTimeout` option in the config, or by using the + * Maximum operation time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The + * default value can be changed via `navigationTimeout` option in the config, or by using the * [browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout), * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout), * [page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout) @@ -9806,8 +9806,8 @@ export interface ElementHandle extends JSHandle { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -9883,8 +9883,8 @@ export interface ElementHandle extends JSHandle { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -9963,8 +9963,8 @@ export interface ElementHandle extends JSHandle { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10051,8 +10051,8 @@ export interface ElementHandle extends JSHandle { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10125,8 +10125,8 @@ export interface ElementHandle extends JSHandle { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10169,8 +10169,8 @@ export interface ElementHandle extends JSHandle { */ inputValue(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10276,8 +10276,8 @@ export interface ElementHandle extends JSHandle { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10362,8 +10362,8 @@ export interface ElementHandle extends JSHandle { style?: string; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10392,8 +10392,8 @@ export interface ElementHandle extends JSHandle { */ scrollIntoViewIfNeeded(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10479,8 +10479,8 @@ export interface ElementHandle extends JSHandle { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10507,8 +10507,8 @@ export interface ElementHandle extends JSHandle { force?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10560,8 +10560,8 @@ export interface ElementHandle extends JSHandle { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10628,8 +10628,8 @@ export interface ElementHandle extends JSHandle { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10686,8 +10686,8 @@ export interface ElementHandle extends JSHandle { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10738,8 +10738,8 @@ export interface ElementHandle extends JSHandle { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10790,8 +10790,8 @@ export interface ElementHandle extends JSHandle { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -10824,8 +10824,8 @@ export interface ElementHandle extends JSHandle { */ waitForElementState(state: "visible"|"hidden"|"stable"|"enabled"|"disabled"|"editable", options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -11079,8 +11079,8 @@ export interface Locator { */ blur(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -11115,8 +11115,8 @@ export interface Locator { */ boundingBox(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -11195,8 +11195,8 @@ export interface Locator { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -11244,8 +11244,8 @@ export interface Locator { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -11335,8 +11335,8 @@ export interface Locator { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -11448,8 +11448,8 @@ export interface Locator { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -11506,8 +11506,8 @@ export interface Locator { */ dispatchEvent(type: string, eventInit?: EvaluationArgument, options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -11573,8 +11573,8 @@ export interface Locator { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -11633,8 +11633,8 @@ export interface Locator { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -11707,8 +11707,8 @@ export interface Locator { */ focus(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -11741,8 +11741,8 @@ export interface Locator { */ getAttribute(name: string, options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12122,8 +12122,8 @@ export interface Locator { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12142,8 +12142,8 @@ export interface Locator { */ innerHTML(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12160,8 +12160,8 @@ export interface Locator { */ innerText(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12191,8 +12191,8 @@ export interface Locator { */ inputValue(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12216,8 +12216,8 @@ export interface Locator { */ isChecked(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12241,8 +12241,8 @@ export interface Locator { */ isDisabled(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12266,8 +12266,8 @@ export interface Locator { */ isEditable(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12291,8 +12291,8 @@ export interface Locator { */ isEnabled(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12496,8 +12496,8 @@ export interface Locator { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12547,8 +12547,8 @@ export interface Locator { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12594,8 +12594,8 @@ export interface Locator { */ scrollIntoViewIfNeeded(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12689,8 +12689,8 @@ export interface Locator { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12713,8 +12713,8 @@ export interface Locator { force?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12772,8 +12772,8 @@ export interface Locator { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12863,8 +12863,8 @@ export interface Locator { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12922,8 +12922,8 @@ export interface Locator { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12946,8 +12946,8 @@ export interface Locator { */ textContent(options?: { /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -12983,8 +12983,8 @@ export interface Locator { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -13042,8 +13042,8 @@ export interface Locator { }; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -13084,8 +13084,8 @@ export interface Locator { state?: "attached"|"detached"|"visible"|"hidden"; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -18033,8 +18033,8 @@ export interface FileChooser { noWaitAfter?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -20812,8 +20812,8 @@ export interface LocatorScreenshotOptions { style?: string; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -20844,8 +20844,8 @@ interface ElementHandleWaitForSelectorOptions { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -20892,8 +20892,8 @@ interface PageWaitForSelectorOptions { strict?: boolean; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -20909,8 +20909,8 @@ interface PageWaitForFunctionOptions { polling?: number|"raf"; /** - * Maximum time to wait for in milliseconds. Defaults to `0` - no timeout. The default value can be changed via - * `actionTimeout` option in the config, or by using the + * Maximum time to wait for in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). + * The default value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */ @@ -21012,8 +21012,8 @@ export interface PageScreenshotOptions { style?: string; /** - * Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` - * option in the config, or by using the + * Maximum time in milliseconds. Defaults to `30000` - 30 seconds (`0` - no timeout in Playwright Test). The default + * value can be changed via `actionTimeout` option in the config, or by using the * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) * or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods. */