Skip to content

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

docs: update default timeouts in js to be zero and mention config (#21675)

Dmitry Gozman69a94ed04403
diff --git a/docs/src/api/class-browsercontext.md b/docs/src/api/class-browsercontext.md
index 13d0676427..a93f22ca22 100644
--- a/docs/src/api/class-browsercontext.md
+++ b/docs/src/api/class-browsercontext.md
@@ -1134,7 +1134,7 @@ When set to `minimal`, only record information necessary for routing from HAR. T
* since: v1.32
- `content` <[HarContentPolicy]<"omit"|"embed"|"attach">>
-Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach` is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is specified, content is stored inline the HAR file
+Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach` is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is specified, content is stored inline the HAR file
## method: BrowserContext.serviceWorkers
* since: v1.11
@@ -1379,9 +1379,8 @@ Event name, same one would pass into `browserContext.on(event)`.
* since: v1.8
* 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 `30000` (30 seconds). Pass `0` to
- disable timeout. The default value can be changed by using the [`method: BrowserContext.setDefaultTimeout`].
+ - `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.
Either a predicate that receives an event or an options object. Optional.
diff --git a/docs/src/api/class-elementhandle.md b/docs/src/api/class-elementhandle.md
index 3d23e618d8..1671be2606 100644
--- a/docs/src/api/class-elementhandle.md
+++ b/docs/src/api/class-elementhandle.md
@@ -183,6 +183,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: ElementHandle.check.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.check.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: ElementHandle.check.trial = %%-input-trial-%%
* since: v1.11
@@ -224,6 +227,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: ElementHandle.click.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.click.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: ElementHandle.click.trial = %%-input-trial-%%
* since: v1.11
@@ -275,6 +281,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: ElementHandle.dblclick.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.dblclick.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: ElementHandle.dblclick.trial = %%-input-trial-%%
* since: v1.11
@@ -519,6 +528,9 @@ Value to set for the `<input>`, `<textarea>` or `[contenteditable]` element.
### option: ElementHandle.fill.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.fill.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: ElementHandle.focus
* since: v1.8
@@ -562,6 +574,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: ElementHandle.hover.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.hover.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: ElementHandle.hover.trial = %%-input-trial-%%
* since: v1.11
@@ -591,6 +606,9 @@ Throws for non-input elements. However, if the element is inside the `<label>` e
### option: ElementHandle.inputValue.timeout = %%-input-timeout-%%
* since: v1.13
+### option: ElementHandle.inputValue.timeout = %%-input-timeout-js-%%
+* since: v1.13
+
## async method: ElementHandle.isChecked
* since: v1.8
- returns: <[boolean]>
@@ -674,6 +692,9 @@ Time to wait between `keydown` and `keyup` in milliseconds. Defaults to 0.
### option: ElementHandle.press.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.press.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: ElementHandle.querySelector
* since: v1.9
* langs:
@@ -714,6 +735,12 @@ Returns the buffer with the captured screenshot.
### option: ElementHandle.screenshot.-inline- = %%-screenshot-options-common-list-v1.8-%%
* since: v1.8
+### option: ElementHandle.screenshot.timeout = %%-input-timeout-%%
+* since: v1.8
+
+### option: ElementHandle.screenshot.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: ElementHandle.scrollIntoViewIfNeeded
* since: v1.8
@@ -727,6 +754,9 @@ Throws when `elementHandle` does not point to an element
### option: ElementHandle.scrollIntoViewIfNeeded.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.scrollIntoViewIfNeeded.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: ElementHandle.selectOption
* since: v1.8
- returns: <[Array]<[string]>>
@@ -805,6 +835,9 @@ await handle.SelectOptionAsync(new[] {
### option: ElementHandle.selectOption.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.selectOption.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### param: ElementHandle.selectOption.element = %%-python-select-options-element-%%
* since: v1.8
@@ -831,6 +864,9 @@ If the element is inside the `<label>` element that has an associated [control](
### option: ElementHandle.selectText.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.selectText.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: ElementHandle.setChecked
* since: v1.15
@@ -862,6 +898,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: ElementHandle.setChecked.timeout = %%-input-timeout-%%
* since: v1.15
+### option: ElementHandle.setChecked.timeout = %%-input-timeout-js-%%
+* since: v1.15
+
### option: ElementHandle.setChecked.trial = %%-input-trial-%%
* since: v1.15
@@ -883,6 +922,9 @@ This method expects [ElementHandle] to point to an
### option: ElementHandle.setInputFiles.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.setInputFiles.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: ElementHandle.tap
* since: v1.8
@@ -916,6 +958,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: ElementHandle.tap.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.tap.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: ElementHandle.tap.trial = %%-input-trial-%%
* since: v1.11
@@ -1009,6 +1054,9 @@ Time to wait between key presses in milliseconds. Defaults to 0.
### option: ElementHandle.type.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.type.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: ElementHandle.uncheck
* since: v1.8
@@ -1038,6 +1086,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: ElementHandle.uncheck.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.uncheck.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: ElementHandle.uncheck.trial = %%-input-trial-%%
* since: v1.11
@@ -1068,6 +1119,9 @@ A state to wait for, see below for more details.
### option: ElementHandle.waitForElementState.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.waitForElementState.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: ElementHandle.waitForSelector
* since: v1.8
- returns: <[null]|[ElementHandle]>
@@ -1131,5 +1185,8 @@ This method does not work across navigations, use [`method: Page.waitForSelector
### option: ElementHandle.waitForSelector.timeout = %%-input-timeout-%%
* since: v1.8
+### option: ElementHandle.waitForSelector.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: ElementHandle.waitForSelector.strict = %%-input-strict-%%
* since: v1.15
diff --git a/docs/src/api/class-filechooser.md b/docs/src/api/class-filechooser.md
index c4890dff1a..cf6407cb55 100644
--- a/docs/src/api/class-filechooser.md
+++ b/docs/src/api/class-filechooser.md
@@ -70,3 +70,6 @@ they are resolved relative to the current working directory. For empty array, cl
### option: FileChooser.setFiles.timeout = %%-input-timeout-%%
* since: v1.8
+
+### option: FileChooser.setFiles.timeout = %%-input-timeout-js-%%
+* since: v1.8
diff --git a/docs/src/api/class-frame.md b/docs/src/api/class-frame.md
index 806a274a64..ac7bb4147e 100644
--- a/docs/src/api/class-frame.md
+++ b/docs/src/api/class-frame.md
@@ -223,6 +223,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Frame.check.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.check.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Frame.check.trial = %%-input-trial-%%
* since: v1.11
@@ -276,6 +279,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Frame.click.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.click.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Frame.click.trial = %%-input-trial-%%
* since: v1.11
@@ -335,6 +341,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Frame.dblclick.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.dblclick.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Frame.dblclick.trial = %%-input-trial-%%
* since: v1.11
@@ -437,6 +446,9 @@ Optional event-specific initialization properties.
### option: Frame.dispatchEvent.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.dispatchEvent.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.dragAndDrop
* since: v1.13
@@ -458,6 +470,9 @@ Optional event-specific initialization properties.
### option: Frame.dragAndDrop.timeout = %%-input-timeout-%%
* since: v1.13
+### option: Frame.dragAndDrop.timeout = %%-input-timeout-js-%%
+* since: v1.13
+
### option: Frame.dragAndDrop.trial = %%-input-trial-%%
* since: v1.13
@@ -844,6 +859,9 @@ Value to fill for the `<input>`, `<textarea>` or `[contenteditable]` element.
### option: Frame.fill.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.fill.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.focus
* since: v1.8
* discouraged: Use locator-based [`method: Locator.focus`] instead. Read more about [locators](../locators.md).
@@ -860,6 +878,9 @@ This method fetches an element with [`param: selector`] and focuses it. If there
### option: Frame.focus.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.focus.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.frameElement
* since: v1.8
- returns: <[ElementHandle]>
@@ -964,6 +985,9 @@ Attribute name to get the value for.
### option: Frame.getAttribute.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.getAttribute.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## method: Frame.getByAltText
* since: v1.27
- returns: <[Locator]>
@@ -1078,6 +1102,9 @@ URL to navigate frame to. The url should include scheme, e.g. `https://`.
### option: Frame.goto.timeout = %%-navigation-timeout-%%
* since: v1.8
+### option: Frame.goto.timeout = %%-navigation-timeout-js-%%
+* since: v1.8
+
### option: Frame.goto.referer
* since: v1.8
- `referer` <[string]>
@@ -1119,6 +1146,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Frame.hover.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.hover.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Frame.hover.trial = %%-input-trial-%%
* since: v1.11
@@ -1141,6 +1171,9 @@ Returns `element.innerHTML`.
### option: Frame.innerHTML.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.innerHTML.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.innerText
* since: v1.8
* discouraged: Use locator-based [`method: Locator.innerText`] instead. Read more about [locators](../locators.md).
@@ -1157,6 +1190,9 @@ Returns `element.innerText`.
### option: Frame.innerText.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.innerText.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.inputValue
* since: v1.13
* discouraged: Use locator-based [`method: Locator.inputValue`] instead. Read more about [locators](../locators.md).
@@ -1175,6 +1211,9 @@ Throws for non-input elements. However, if the element is inside the `<label>` e
### option: Frame.inputValue.timeout = %%-input-timeout-%%
* since: v1.13
+### option: Frame.inputValue.timeout = %%-input-timeout-js-%%
+* since: v1.13
+
## async method: Frame.isChecked
* since: v1.8
* discouraged: Use locator-based [`method: Locator.isChecked`] instead. Read more about [locators](../locators.md).
@@ -1191,6 +1230,9 @@ Returns whether the element is checked. Throws if the element is not a checkbox
### option: Frame.isChecked.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.isChecked.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## method: Frame.isDetached
* since: v1.8
- returns: <[boolean]>
@@ -1213,6 +1255,9 @@ Returns whether the element is disabled, the opposite of [enabled](../actionabil
### option: Frame.isDisabled.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.isDisabled.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.isEditable
* since: v1.8
* discouraged: Use locator-based [`method: Locator.isEditable`] instead. Read more about [locators](../locators.md).
@@ -1229,6 +1274,9 @@ Returns whether the element is [editable](../actionability.md#editable).
### option: Frame.isEditable.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.isEditable.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.isEnabled
* since: v1.8
- returns: <[boolean]>
@@ -1244,6 +1292,9 @@ Returns whether the element is [enabled](../actionability.md#enabled).
### option: Frame.isEnabled.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.isEnabled.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.isHidden
* since: v1.8
* discouraged: Use locator-based [`method: Locator.isHidden`] instead. Read more about [locators](../locators.md).
@@ -1364,6 +1415,9 @@ Time to wait between `keydown` and `keyup` in milliseconds. Defaults to 0.
### option: Frame.press.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.press.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.querySelector
* since: v1.9
* discouraged: Use locator-based [`method: Frame.locator`] instead. Read more about [locators](../locators.md).
@@ -1487,6 +1541,9 @@ await frame.SelectOptionAsync("select#colors", new[] { "red", "green", "blue" })
### option: Frame.selectOption.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.selectOption.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### param: Frame.selectOption.element = %%-python-select-options-element-%%
* since: v1.8
@@ -1539,6 +1596,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Frame.setChecked.timeout = %%-input-timeout-%%
* since: v1.15
+### option: Frame.setChecked.timeout = %%-input-timeout-js-%%
+* since: v1.15
+
### option: Frame.setChecked.trial = %%-input-trial-%%
* since: v1.15
@@ -1554,6 +1614,9 @@ HTML markup to assign to the page.
### option: Frame.setContent.timeout = %%-navigation-timeout-%%
* since: v1.8
+### option: Frame.setContent.timeout = %%-navigation-timeout-js-%%
+* since: v1.8
+
### option: Frame.setContent.waitUntil = %%-navigation-wait-until-%%
* since: v1.8
@@ -1582,6 +1645,9 @@ This method expects [`param: selector`] to point to an
### option: Frame.setInputFiles.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.setInputFiles.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.tap
* since: v1.8
* discouraged: Use locator-based [`method: Locator.tap`] instead. Read more about [locators](../locators.md).
@@ -1623,6 +1689,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Frame.tap.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.tap.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Frame.tap.trial = %%-input-trial-%%
* since: v1.11
@@ -1642,6 +1711,9 @@ Returns `element.textContent`.
### option: Frame.textContent.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.textContent.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.title
* since: v1.8
- returns: <[string]>
@@ -1710,6 +1782,9 @@ Time to wait between key presses in milliseconds. Defaults to 0.
### option: Frame.type.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.type.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.uncheck
* since: v1.8
* discouraged: Use locator-based [`method: Locator.uncheck`] instead. Read more about [locators](../locators.md).
@@ -1747,6 +1822,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Frame.uncheck.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.uncheck.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Frame.uncheck.trial = %%-input-trial-%%
* since: v1.11
@@ -1891,7 +1969,10 @@ Optional argument to pass to [`param: expression`].
### option: Frame.waitForFunction.polling = %%-csharp-java-wait-for-function-polling-%%
* since: v1.8
-### option: Frame.waitForFunction.timeout = %%-wait-for-timeout-%%
+### option: Frame.waitForFunction.timeout = %%-wait-for-function-timeout-%%
+* since: v1.8
+
+### option: Frame.waitForFunction.timeout = %%-wait-for-function-timeout-js-%%
* since: v1.8
## async method: Frame.waitForLoadState
@@ -1935,6 +2016,9 @@ await frame.WaitForLoadStateAsync(); // Defaults to LoadState.Load
### option: Frame.waitForLoadState.timeout = %%-navigation-timeout-%%
* since: v1.8
+### option: Frame.waitForLoadState.timeout = %%-navigation-timeout-js-%%
+* since: v1.8
+
## async method: Frame.waitForNavigation
* since: v1.8
* deprecated: This method is inherently racy, please use [`method: Frame.waitForURL`] instead.
@@ -2012,6 +2096,9 @@ a navigation.
### option: Frame.waitForNavigation.timeout = %%-navigation-timeout-%%
* since: v1.8
+### option: Frame.waitForNavigation.timeout = %%-navigation-timeout-js-%%
+* since: v1.8
+
### param: Frame.waitForNavigation.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
@@ -2143,6 +2230,9 @@ class FrameExamples
### option: Frame.waitForSelector.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Frame.waitForSelector.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Frame.waitForTimeout
* since: v1.8
@@ -2195,5 +2285,8 @@ await frame.WaitForURLAsync("**/target.html");
### option: Frame.waitForURL.timeout = %%-navigation-timeout-%%
* since: v1.11
+### option: Frame.waitForURL.timeout = %%-navigation-timeout-js-%%
+* since: v1.11
+
### option: Frame.waitForURL.waitUntil = %%-navigation-wait-until-%%
* since: v1.11
diff --git a/docs/src/api/class-locator.md b/docs/src/api/class-locator.md
index c26b11f677..cdb4214d2f 100644
--- a/docs/src/api/class-locator.md
+++ b/docs/src/api/class-locator.md
@@ -106,6 +106,9 @@ Calls [blur](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/blur)
### option: Locator.blur.timeout = %%-input-timeout-%%
* since: v1.28
+### option: Locator.blur.timeout = %%-input-timeout-js-%%
+* since: v1.28
+
## async method: Locator.boundingBox
* since: v1.14
- returns: <[null]|[Object]>
@@ -159,6 +162,9 @@ await page.Mouse.ClickAsync(box.X + box.Width / 2, box.Y + box.Height / 2);
### option: Locator.boundingBox.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.boundingBox.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.check
* since: v1.14
@@ -214,6 +220,9 @@ await page.GetByRole(AriaRole.Checkbox).CheckAsync();
### option: Locator.check.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.check.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
### option: Locator.check.trial = %%-input-trial-%%
* since: v1.14
@@ -261,6 +270,9 @@ await page.GetByRole(AriaRole.Textbox).ClearAsync();
### option: Locator.clear.timeout = %%-input-timeout-%%
* since: v1.28
+### option: Locator.clear.timeout = %%-input-timeout-js-%%
+* since: v1.28
+
## async method: Locator.click
* since: v1.14
@@ -366,6 +378,9 @@ await page.Locator("canvas").ClickAsync(new() {
### option: Locator.click.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.click.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
### option: Locator.click.trial = %%-input-trial-%%
* since: v1.14
@@ -444,6 +459,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Locator.dblclick.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.dblclick.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
### option: Locator.dblclick.trial = %%-input-trial-%%
* since: v1.14
@@ -545,6 +563,9 @@ Optional event-specific initialization properties.
### option: Locator.dispatchEvent.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.dispatchEvent.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.dragTo
* since: v1.18
@@ -634,6 +655,9 @@ Locator of the element to drag to.
### option: Locator.dragTo.timeout = %%-input-timeout-%%
* since: v1.18
+### option: Locator.dragTo.timeout = %%-input-timeout-js-%%
+* since: v1.18
+
### option: Locator.dragTo.trial = %%-input-trial-%%
* since: v1.18
@@ -653,6 +677,9 @@ Resolves given locator to the first matching DOM element. If there are no matchi
### option: Locator.elementHandle.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.elementHandle.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.elementHandles
* since: v1.14
* discouraged: Always prefer using [Locator]s and web assertions over [ElementHandle]s because latter are inherently racy.
@@ -716,6 +743,9 @@ Optional argument to pass to [`param: expression`].
### option: Locator.evaluate.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.evaluate.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.evaluateAll
* since: v1.14
- returns: <[Serializable]>
@@ -802,6 +832,9 @@ Optional argument to pass to [`param: expression`].
### option: Locator.evaluateHandle.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.evaluateHandle.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.fill
* since: v1.14
@@ -852,6 +885,9 @@ Value to set for the `<input>`, `<textarea>` or `[contenteditable]` element.
### option: Locator.fill.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.fill.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## method: Locator.filter
* since: v1.22
- returns: <[Locator]>
@@ -927,6 +963,9 @@ Calls [focus](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus
### option: Locator.focus.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.focus.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## method: Locator.frameLocator
* since: v1.17
- returns: <[FrameLocator]>
@@ -979,6 +1018,9 @@ Attribute name to get the value for.
### option: Locator.getAttribute.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.getAttribute.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## method: Locator.getByAltText
* since: v1.27
- returns: <[Locator]>
@@ -1108,6 +1150,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Locator.hover.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.hover.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
### option: Locator.hover.trial = %%-input-trial-%%
* since: v1.14
@@ -1123,6 +1168,9 @@ Returns the [`element.innerHTML`](https://developer.mozilla.org/en-US/docs/Web/A
### option: Locator.innerHTML.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.innerHTML.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.innerText
* since: v1.14
- returns: <[string]>
@@ -1132,6 +1180,9 @@ Returns the [`element.innerText`](https://developer.mozilla.org/en-US/docs/Web/A
### option: Locator.innerText.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.innerText.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.inputValue
* since: v1.14
- returns: <[string]>
@@ -1167,6 +1218,9 @@ Throws elements that are not an input, textarea or a select. However, if the ele
### option: Locator.inputValue.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.inputValue.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.isChecked
* since: v1.14
- returns: <[boolean]>
@@ -1198,6 +1252,9 @@ Boolean checked = await page.GetByRole(AriaRole.Checkbox).IsCheckedAsync();
### option: Locator.isChecked.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.isChecked.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.isDisabled
* since: v1.14
- returns: <[boolean]>
@@ -1229,6 +1286,9 @@ Boolean disabled = await page.GetByRole(AriaRole.Button).IsDisabledAsync();
### option: Locator.isDisabled.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.isDisabled.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.isEditable
* since: v1.14
- returns: <[boolean]>
@@ -1260,6 +1320,9 @@ Boolean editable = await page.GetByRole(AriaRole.Textbox).IsEditableAsync();
### option: Locator.isEditable.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.isEditable.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.isEnabled
* since: v1.14
- returns: <[boolean]>
@@ -1291,6 +1354,9 @@ Boolean enabled = await page.GetByRole(AriaRole.Button).IsEnabledAsync();
### option: Locator.isEnabled.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.isEnabled.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.isHidden
* since: v1.14
- returns: <[boolean]>
@@ -1502,6 +1568,9 @@ Time to wait between `keydown` and `keyup` in milliseconds. Defaults to 0.
### option: Locator.press.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.press.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.screenshot
* since: v1.14
- returns: <[Buffer]>
@@ -1569,6 +1638,12 @@ Returns the buffer with the captured screenshot.
### option: Locator.screenshot.-inline- = %%-screenshot-options-common-list-v1.8-%%
* since: v1.14
+### option: Locator.screenshot.timeout = %%-input-timeout-%%
+* since: v1.14
+
+### option: Locator.screenshot.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.scrollIntoViewIfNeeded
* since: v1.14
@@ -1579,6 +1654,9 @@ completely visible as defined by
### option: Locator.scrollIntoViewIfNeeded.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.scrollIntoViewIfNeeded.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.selectOption
* since: v1.14
- returns: <[Array]<[string]>>
@@ -1664,6 +1742,9 @@ await element.SelectOptionAsync(new[] { "red", "green", "blue" });
### option: Locator.selectOption.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.selectOption.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
### param: Locator.selectOption.element = %%-python-select-options-element-%%
* since: v1.14
@@ -1690,6 +1771,9 @@ If the element is inside the `<label>` element that has an associated [control](
### option: Locator.selectText.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.selectText.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.setChecked
* since: v1.15
@@ -1747,6 +1831,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Locator.setChecked.timeout = %%-input-timeout-%%
* since: v1.15
+### option: Locator.setChecked.timeout = %%-input-timeout-js-%%
+* since: v1.15
+
### option: Locator.setChecked.trial = %%-input-trial-%%
* since: v1.15
@@ -1863,6 +1950,9 @@ This method expects [Locator] to point to an
### option: Locator.setInputFiles.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.setInputFiles.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.tap
* since: v1.14
@@ -1900,6 +1990,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Locator.tap.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.tap.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
### option: Locator.tap.trial = %%-input-trial-%%
* since: v1.14
@@ -1912,6 +2005,9 @@ Returns the [`node.textContent`](https://developer.mozilla.org/en-US/docs/Web/AP
### option: Locator.textContent.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.textContent.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.type
* since: v1.14
@@ -1996,6 +2092,9 @@ Time to wait between key presses in milliseconds. Defaults to 0.
### option: Locator.type.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.type.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
## async method: Locator.uncheck
* since: v1.14
@@ -2051,6 +2150,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Locator.uncheck.timeout = %%-input-timeout-%%
* since: v1.14
+### option: Locator.uncheck.timeout = %%-input-timeout-js-%%
+* since: v1.14
+
### option: Locator.uncheck.trial = %%-input-trial-%%
* since: v1.14
@@ -2094,3 +2196,6 @@ orderSent.WaitForAsync();
### option: Locator.waitFor.timeout = %%-input-timeout-%%
* since: v1.16
+
+### option: Locator.waitFor.timeout = %%-input-timeout-js-%%
+* since: v1.16
diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md
index b3ed6544fa..49c72d6b84 100644
--- a/docs/src/api/class-page.md
+++ b/docs/src/api/class-page.md
@@ -746,6 +746,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Page.check.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.check.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Page.check.trial = %%-input-trial-%%
* since: v1.11
@@ -795,6 +798,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Page.click.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.click.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Page.click.trial = %%-input-trial-%%
* since: v1.11
@@ -891,6 +897,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Page.dblclick.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.dblclick.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Page.dblclick.trial = %%-input-trial-%%
* since: v1.11
@@ -992,6 +1001,9 @@ Optional event-specific initialization properties.
### option: Page.dispatchEvent.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.dispatchEvent.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Page.dragAndDrop
* since: v1.13
@@ -1067,6 +1079,9 @@ await Page.DragAndDropAsync("#source", "#target", new()
### option: Page.dragAndDrop.timeout = %%-input-timeout-%%
* since: v1.13
+### option: Page.dragAndDrop.timeout = %%-input-timeout-js-%%
+* since: v1.13
+
### option: Page.dragAndDrop.trial = %%-input-trial-%%
* since: v1.13
@@ -2091,6 +2106,9 @@ Value to fill for the `<input>`, `<textarea>` or `[contenteditable]` element.
### option: Page.fill.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.fill.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Page.focus
* since: v1.8
* discouraged: Use locator-based [`method: Locator.focus`] instead. Read more about [locators](../locators.md).
@@ -2107,6 +2125,9 @@ This method fetches an element with [`param: selector`] and focuses it. If there
### option: Page.focus.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.focus.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## method: Page.frame
* since: v1.8
- returns: <[null]|[Frame]>
@@ -2260,6 +2281,9 @@ Attribute name to get the value for.
### option: Page.getAttribute.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.getAttribute.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## method: Page.getByAltText
* since: v1.27
- returns: <[Locator]>
@@ -2347,6 +2371,9 @@ Navigate to the previous page in history.
### option: Page.goBack.timeout = %%-navigation-timeout-%%
* since: v1.8
+### option: Page.goBack.timeout = %%-navigation-timeout-js-%%
+* since: v1.8
+
## async method: Page.goForward
* since: v1.8
- returns: <[null]|[Response]>
@@ -2362,6 +2389,9 @@ Navigate to the next page in history.
### option: Page.goForward.timeout = %%-navigation-timeout-%%
* since: v1.8
+### option: Page.goForward.timeout = %%-navigation-timeout-js-%%
+* since: v1.8
+
## async method: Page.goto
* since: v1.8
* langs:
@@ -2406,6 +2436,9 @@ it gets merged via the [`new URL()`](https://developer.mozilla.org/en-US/docs/We
### option: Page.goto.timeout = %%-navigation-timeout-%%
* since: v1.8
+### option: Page.goto.timeout = %%-navigation-timeout-js-%%
+* since: v1.8
+
### option: Page.goto.referer
* since: v1.8
- `referer` <[string]>
@@ -2447,6 +2480,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Page.hover.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.hover.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Page.hover.trial = %%-input-trial-%%
* since: v1.11
@@ -2469,6 +2505,9 @@ Returns `element.innerHTML`.
### option: Page.innerHTML.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.innerHTML.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Page.innerText
* since: v1.8
* discouraged: Use locator-based [`method: Locator.innerText`] instead. Read more about [locators](../locators.md).
@@ -2485,6 +2524,9 @@ Returns `element.innerText`.
### option: Page.innerText.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.innerText.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Page.inputValue
* since: v1.13
* discouraged: Use locator-based [`method: Locator.inputValue`] instead. Read more about [locators](../locators.md).
@@ -2503,6 +2545,9 @@ Throws for non-input elements. However, if the element is inside the `<label>` e
### option: Page.inputValue.timeout = %%-input-timeout-%%
* since: v1.13
+### option: Page.inputValue.timeout = %%-input-timeout-js-%%
+* since: v1.13
+
## async method: Page.isChecked
* since: v1.8
* discouraged: Use locator-based [`method: Locator.isChecked`] instead. Read more about [locators](../locators.md).
@@ -2519,6 +2564,9 @@ Returns whether the element is checked. Throws if the element is not a checkbox
### option: Page.isChecked.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.isChecked.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## method: Page.isClosed
* since: v1.8
- returns: <[boolean]>
@@ -2541,6 +2589,9 @@ Returns whether the element is disabled, the opposite of [enabled](../actionabil
### option: Page.isDisabled.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.isDisabled.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Page.isEditable
* since: v1.8
* discouraged: Use locator-based [`method: Locator.isEditable`] instead. Read more about [locators](../locators.md).
@@ -2557,6 +2608,9 @@ Returns whether the element is [editable](../actionability.md#editable).
### option: Page.isEditable.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.isEditable.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Page.isEnabled
* since: v1.8
* discouraged: Use locator-based [`method: Locator.isEnabled`] instead. Read more about [locators](../locators.md).
@@ -2573,6 +2627,9 @@ Returns whether the element is [enabled](../actionability.md#enabled).
### option: Page.isEnabled.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.isEnabled.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Page.isHidden
* since: v1.8
* discouraged: Use locator-based [`method: Locator.isHidden`] instead. Read more about [locators](../locators.md).
@@ -3011,6 +3068,9 @@ Time to wait between `keydown` and `keyup` in milliseconds. Defaults to 0.
### option: Page.press.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.press.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Page.querySelector
* since: v1.9
* discouraged: Use locator-based [`method: Page.locator`] instead. Read more about [locators](../locators.md).
@@ -3056,6 +3116,9 @@ last redirect.
### option: Page.reload.timeout = %%-navigation-timeout-%%
* since: v1.8
+### option: Page.reload.timeout = %%-navigation-timeout-js-%%
+* since: v1.8
+
## property: Page.request
* since: v1.16
* langs:
@@ -3280,7 +3343,7 @@ When set to `minimal`, only record information necessary for routing from HAR. T
### option: Page.routeFromHAR.url
* since: v1.32
- `content` <[HarContentPolicy]<"omit"|"embed"|"attach">>
-Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach` is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is specified, content is stored inline the HAR file
+Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach` is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is specified, content is stored inline the HAR file
## async method: Page.screenshot
* since: v1.8
@@ -3291,6 +3354,12 @@ Returns the buffer with the captured screenshot.
### option: Page.screenshot.-inline- = %%-screenshot-options-common-list-v1.8-%%
* since: v1.8
+### option: Page.screenshot.timeout = %%-input-timeout-%%
+* since: v1.8
+
+### option: Page.screenshot.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Page.screenshot.fullPage = %%-screenshot-option-full-page-%%
* since: v1.8
@@ -3378,6 +3447,9 @@ await page.SelectOptionAsync("select#colors", new[] { "red", "green", "blue" });
### option: Page.selectOption.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.selectOption.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### param: Page.selectOption.element = %%-python-select-options-element-%%
* since: v1.8
@@ -3430,6 +3502,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Page.setChecked.timeout = %%-input-timeout-%%
* since: v1.15
+### option: Page.setChecked.timeout = %%-input-timeout-js-%%
+* since: v1.15
+
### option: Page.setChecked.trial = %%-input-trial-%%
* since: v1.15
@@ -3445,6 +3520,9 @@ HTML markup to assign to the page.
### option: Page.setContent.timeout = %%-navigation-timeout-%%
* since: v1.8
+### option: Page.setContent.timeout = %%-navigation-timeout-js-%%
+* since: v1.8
+
### option: Page.setContent.waitUntil = %%-navigation-wait-until-%%
* since: v1.8
@@ -3526,6 +3604,9 @@ This method expects [`param: selector`] to point to an
### option: Page.setInputFiles.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.setInputFiles.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Page.setViewportSize
* since: v1.8
@@ -3628,6 +3709,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Page.tap.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.tap.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Page.tap.trial = %%-input-trial-%%
* since: v1.11
@@ -3647,6 +3731,9 @@ Returns `element.textContent`.
### option: Page.textContent.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.textContent.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Page.title
* since: v1.8
- returns: <[string]>
@@ -3719,6 +3806,9 @@ Time to wait between key presses in milliseconds. Defaults to 0.
### option: Page.type.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.type.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Page.uncheck
* since: v1.8
* discouraged: Use locator-based [`method: Locator.uncheck`] instead. Read more about [locators](../locators.md).
@@ -3756,6 +3846,9 @@ When all steps combined have not finished during the specified [`option: timeout
### option: Page.uncheck.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.uncheck.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
### option: Page.uncheck.trial = %%-input-trial-%%
* since: v1.11
@@ -3918,9 +4011,8 @@ frame = event_info.value
* since: v1.8
* 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 `30000` (30 seconds). Pass `0` to
- disable timeout. The default value can be changed by using the [`method: BrowserContext.setDefaultTimeout`].
+ - `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.
Either a predicate that receives an event or an options object. Optional.
@@ -4096,7 +4188,10 @@ Optional argument to pass to [`param: expression`].
### option: Page.waitForFunction.polling = %%-csharp-java-wait-for-function-polling-%%
* since: v1.8
-### option: Page.waitForFunction.timeout = %%-wait-for-timeout-%%
+### option: Page.waitForFunction.timeout = %%-wait-for-function-timeout-%%
+* since: v1.8
+
+### option: Page.waitForFunction.timeout = %%-wait-for-function-timeout-js-%%
* since: v1.8
## async method: Page.waitForLoadState
@@ -4185,6 +4280,9 @@ Console.WriteLine(await popup.TitleAsync()); // popup is ready to use.
### option: Page.waitForLoadState.timeout = %%-navigation-timeout-%%
* since: v1.8
+### option: Page.waitForLoadState.timeout = %%-navigation-timeout-js-%%
+* since: v1.8
+
## async method: Page.waitForNavigation
* since: v1.8
* deprecated: This method is inherently racy, please use [`method: Page.waitForURL`] instead.
@@ -4265,6 +4363,9 @@ a navigation.
### option: Page.waitForNavigation.timeout = %%-navigation-timeout-%%
* since: v1.8
+### option: Page.waitForNavigation.timeout = %%-navigation-timeout-js-%%
+* since: v1.8
+
### param: Page.waitForNavigation.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
@@ -4678,6 +4779,9 @@ class FrameExamples
### option: Page.waitForSelector.timeout = %%-input-timeout-%%
* since: v1.8
+### option: Page.waitForSelector.timeout = %%-input-timeout-js-%%
+* since: v1.8
+
## async method: Page.waitForTimeout
* since: v1.8
@@ -4757,6 +4861,9 @@ await page.WaitForURLAsync("**/target.html");
### option: Page.waitForURL.timeout = %%-navigation-timeout-%%
* since: v1.11
+### option: Page.waitForURL.timeout = %%-navigation-timeout-js-%%
+* since: v1.11
+
### option: Page.waitForURL.waitUntil = %%-navigation-wait-until-%%
* since: v1.11
diff --git a/docs/src/api/class-websocket.md b/docs/src/api/class-websocket.md
index 03ab4cf6b0..1441cb1a81 100644
--- a/docs/src/api/class-websocket.md
+++ b/docs/src/api/class-websocket.md
@@ -75,8 +75,8 @@ Event name, same one would pass into `webSocket.on(event)`.
* since: v1.8
* 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 `30000` (30 seconds). Pass `0` to disable timeout. The default value can be changed by using the [`method: BrowserContext.setDefaultTimeout`].
+ - `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.
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 702a6cbed9..b3d9daecb4 100644
--- a/docs/src/api/params.md
+++ b/docs/src/api/params.md
@@ -8,6 +8,7 @@ When to consider operation succeeded, defaults to `load`. Events can be either:
* `'commit'` - consider operation to be finished when network response is received and the document started loading.
## navigation-timeout
+* langs: python, java, csharp
- `timeout` <[float]>
Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout.
@@ -17,11 +18,27 @@ The default value can be changed by using the
[`method: Page.setDefaultNavigationTimeout`] or
[`method: Page.setDefaultTimeout`] methods.
-## wait-for-timeout
+## navigation-timeout-js
+* langs: js
- `timeout` <[float]>
-maximum time to wait for in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The default
-value can be changed by using the [`method: BrowserContext.setDefaultTimeout`].
+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`],
+[`method: BrowserContext.setDefaultTimeout`],
+[`method: Page.setDefaultNavigationTimeout`] or
+[`method: Page.setDefaultTimeout`] methods.
+
+## wait-for-function-timeout
+* langs: python, java, csharp
+- `timeout` <[float]>
+
+Maximum time to wait for in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The default
+value can be changed by using the [`method: BrowserContext.setDefaultTimeout`] or [`method: Page.setDefaultTimeout`] methods.
+
+## wait-for-function-timeout-js
+* 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.
## input-strict
- `strict` <[boolean]>
@@ -30,12 +47,20 @@ When true, the call requires selector to resolve to a single element. If given s
than one element, the call throws an exception.
## input-timeout
+* langs: python, java, csharp
- `timeout` <[float]>
-Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed by
+Maximum time in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The default value can be changed by
using the [`method: BrowserContext.setDefaultTimeout`] or
[`method: Page.setDefaultTimeout`] methods.
+## input-timeout-js
+* 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
+[`method: Page.setDefaultTimeout`] methods.
+
## input-no-wait-after
- `noWaitAfter` <[boolean]>
@@ -1096,7 +1121,6 @@ When set to `"hide"`, screenshot will hide text caret. When set to `"initial"`,
- %%-screenshot-option-caret-%%
- %%-screenshot-option-type-%%
- %%-screenshot-option-mask-%%
-- %%-input-timeout-%%
## locator-get-by-test-id-test-id
* since: v1.27
diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts
index d73ef46ad0..1a4ff0cd09 100644
--- a/packages/playwright-core/types/types.d.ts
+++ b/packages/playwright-core/types/types.d.ts
@@ -1857,8 +1857,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -1941,8 +1941,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -2051,8 +2051,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -2114,8 +2114,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -2183,8 +2183,8 @@ export interface Page {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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 {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -2370,8 +2370,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -2447,8 +2447,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -2769,8 +2769,8 @@ export interface Page {
*/
goBack(options?: {
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -2799,8 +2799,8 @@ export interface Page {
*/
goForward(options?: {
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -2853,8 +2853,8 @@ export interface Page {
referer?: string;
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -2929,8 +2929,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -2960,8 +2960,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -2985,8 +2985,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -3015,8 +3015,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -3040,8 +3040,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -3071,8 +3071,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -3097,8 +3097,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -3122,8 +3122,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -3441,8 +3441,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -3457,8 +3457,8 @@ export interface Page {
*/
reload(options?: {
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -3676,8 +3676,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -3738,8 +3738,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -3758,8 +3758,8 @@ export interface Page {
*/
setContent(html: string, options?: {
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -3883,8 +3883,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -3987,8 +3987,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -4019,8 +4019,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -4075,8 +4075,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -4135,8 +4135,8 @@ export interface Page {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -4407,8 +4407,8 @@ export interface Page {
*/
waitForLoadState(state?: "load"|"domcontentloaded"|"networkidle", options?: {
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -4443,8 +4443,8 @@ export interface Page {
*/
waitForNavigation(options?: {
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -4568,8 +4568,8 @@ export interface Page {
*/
waitForURL(url: string|RegExp|((url: URL) => boolean), options?: {
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -5421,8 +5421,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -5507,8 +5507,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -5594,8 +5594,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -5657,8 +5657,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -5712,8 +5712,8 @@ export interface Frame {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -5766,8 +5766,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -5792,8 +5792,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -5857,8 +5857,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6201,8 +6201,8 @@ export interface Frame {
referer?: string;
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -6277,8 +6277,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6308,8 +6308,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6333,8 +6333,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6363,8 +6363,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6388,8 +6388,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6419,8 +6419,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6445,8 +6445,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6467,8 +6467,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6620,8 +6620,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6714,8 +6714,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6776,8 +6776,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6796,8 +6796,8 @@ export interface Frame {
*/
setContent(html: string, options?: {
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -6879,8 +6879,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6944,8 +6944,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -6976,8 +6976,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -7032,8 +7032,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -7092,8 +7092,8 @@ export interface Frame {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -7134,8 +7134,8 @@ export interface Frame {
*/
waitForLoadState(state?: "load"|"domcontentloaded"|"networkidle", options?: {
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -7169,8 +7169,8 @@ export interface Frame {
*/
waitForNavigation(options?: {
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -7223,8 +7223,8 @@ export interface Frame {
*/
waitForURL(url: string|RegExp|((url: URL) => boolean), options?: {
/**
- * Maximum operation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can
- * be changed by using the
+ * 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
* [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)
@@ -9080,8 +9080,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9153,8 +9153,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9229,8 +9229,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9307,8 +9307,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
noWaitAfter?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9370,8 +9370,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9404,8 +9404,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
*/
inputValue(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9487,8 +9487,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
noWaitAfter?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9557,8 +9557,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
scale?: "css"|"device";
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9581,8 +9581,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
*/
scrollIntoViewIfNeeded(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9664,8 +9664,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
noWaitAfter?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9688,8 +9688,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
force?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9737,8 +9737,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9801,8 +9801,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
noWaitAfter?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9855,8 +9855,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9913,8 +9913,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
noWaitAfter?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9962,8 +9962,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -9997,8 +9997,8 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
*/
waitForElementState(state: "visible"|"hidden"|"stable"|"enabled"|"disabled"|"editable", options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -10170,8 +10170,8 @@ export interface Locator {
*/
blur(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -10206,8 +10206,8 @@ export interface Locator {
*/
boundingBox(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -10286,8 +10286,8 @@ export interface Locator {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -10335,8 +10335,8 @@ export interface Locator {
noWaitAfter?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -10425,8 +10425,8 @@ export interface Locator {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -10512,8 +10512,8 @@ export interface Locator {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -10567,8 +10567,8 @@ export interface Locator {
*/
dispatchEvent(type: string, eventInit?: EvaluationArgument, options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -10634,8 +10634,8 @@ export interface Locator {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -10684,8 +10684,8 @@ export interface Locator {
*/
evaluateHandle(pageFunction: Function|string, arg?: EvaluationArgument, options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -10730,8 +10730,8 @@ export interface Locator {
noWaitAfter?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -10783,8 +10783,8 @@ export interface Locator {
*/
focus(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -10813,8 +10813,8 @@ export interface Locator {
*/
getAttribute(name: string, options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11186,8 +11186,8 @@ export interface Locator {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11206,8 +11206,8 @@ export interface Locator {
*/
innerHTML(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11220,8 +11220,8 @@ export interface Locator {
*/
innerText(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11247,8 +11247,8 @@ export interface Locator {
*/
inputValue(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11268,8 +11268,8 @@ export interface Locator {
*/
isChecked(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11289,8 +11289,8 @@ export interface Locator {
*/
isDisabled(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11310,8 +11310,8 @@ export interface Locator {
*/
isEditable(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11331,8 +11331,8 @@ export interface Locator {
*/
isEnabled(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11485,8 +11485,8 @@ export interface Locator {
noWaitAfter?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11530,8 +11530,8 @@ export interface Locator {
*/
scrollIntoViewIfNeeded(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11625,8 +11625,8 @@ export interface Locator {
noWaitAfter?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11649,8 +11649,8 @@ export interface Locator {
force?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11708,8 +11708,8 @@ export interface Locator {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11796,8 +11796,8 @@ export interface Locator {
noWaitAfter?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11854,8 +11854,8 @@ export interface Locator {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11874,8 +11874,8 @@ export interface Locator {
*/
textContent(options?: {
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11921,8 +11921,8 @@ export interface Locator {
noWaitAfter?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -11980,8 +11980,8 @@ export interface Locator {
};
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -12022,8 +12022,8 @@ export interface Locator {
state?: "attached"|"detached"|"visible"|"hidden";
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -16602,8 +16602,8 @@ export interface FileChooser {
noWaitAfter?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -19187,8 +19187,8 @@ export interface LocatorScreenshotOptions {
scale?: "css"|"device";
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -19219,8 +19219,8 @@ interface ElementHandleWaitForSelectorOptions {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -19267,8 +19267,8 @@ interface PageWaitForSelectorOptions {
strict?: boolean;
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/
@@ -19284,9 +19284,10 @@ interface PageWaitForFunctionOptions {
polling?: number|"raf";
/**
- * maximum time to wait for in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The
- * default value can be changed by using the
- * [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout).
+ * 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
+ * [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.
*/
timeout?: number;
}
@@ -19373,8 +19374,8 @@ export interface PageScreenshotOptions {
scale?: "css"|"device";
/**
- * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed
- * by using the
+ * 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
* [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.
*/