Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions docs/src/api/class-browsercontext.md
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,6 @@ Receives the [ConsoleMessage] object and resolves to truthy value when the waiti

### option: BrowserContext.waitForConsoleMessage.timeout = %%-wait-for-event-timeout-%%
* since: v1.34
### option: BrowserContext.waitForConsoleMessage.signal = %%-wait-for-event-signal-%%

### param: BrowserContext.waitForConsoleMessage.callback = %%-java-wait-for-event-callback-%%
* since: v1.34
Expand Down Expand Up @@ -1783,7 +1782,6 @@ Either a predicate that receives an event or an options object. Optional.

### option: BrowserContext.waitForEvent.timeout = %%-wait-for-event-timeout-%%
* since: v1.8
### option: BrowserContext.waitForEvent.signal = %%-wait-for-event-signal-%%

## async method: BrowserContext.waitForPage
* since: v1.9
Expand Down Expand Up @@ -1813,7 +1811,6 @@ Receives the [Page] object and resolves to truthy value when the waiting should

### option: BrowserContext.waitForPage.timeout = %%-wait-for-event-timeout-%%
* since: v1.9
### option: BrowserContext.waitForPage.signal = %%-wait-for-event-signal-%%

### param: BrowserContext.waitForPage.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand All @@ -1840,4 +1837,3 @@ Will throw an error if the browser context is closed before the `event` is fired

### option: BrowserContext.waitForEvent2.timeout = %%-wait-for-event-timeout-%%
* since: v1.8
### option: BrowserContext.waitForEvent2.signal = %%-wait-for-event-signal-%%
3 changes: 0 additions & 3 deletions docs/src/api/class-frame.md
Original file line number Diff line number Diff line change
Expand Up @@ -2010,7 +2010,6 @@ await frame.WaitForLoadStateAsync(); // Defaults to LoadState.Load

### option: Frame.waitForLoadState.timeout = %%-navigation-timeout-js-%%
* since: v1.8
### option: Frame.waitForLoadState.signal = %%-wait-for-event-signal-%%

## async method: Frame.waitForNavigation
* since: v1.8
Expand Down Expand Up @@ -2094,7 +2093,6 @@ a navigation.

### option: Frame.waitForNavigation.timeout = %%-navigation-timeout-js-%%
* since: v1.8
### option: Frame.waitForNavigation.signal = %%-wait-for-event-signal-%%

### param: Frame.waitForNavigation.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand Down Expand Up @@ -2291,7 +2289,6 @@ await frame.WaitForURLAsync("**/target.html");

### option: Frame.waitForURL.timeout = %%-navigation-timeout-js-%%
* since: v1.11
### option: Frame.waitForURL.signal = %%-wait-for-event-signal-%%

### option: Frame.waitForURL.waitUntil = %%-navigation-wait-until-%%
* since: v1.11
17 changes: 0 additions & 17 deletions docs/src/api/class-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -4507,7 +4507,6 @@ Performs action and waits for the Page to close.

### option: Page.waitForClose.timeout = %%-wait-for-event-timeout-%%
* since: v1.9
### option: Page.waitForClose.signal = %%-wait-for-event-signal-%%

### param: Page.waitForClose.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand Down Expand Up @@ -4539,7 +4538,6 @@ Receives the [ConsoleMessage] object and resolves to truthy value when the waiti

### option: Page.waitForConsoleMessage.timeout = %%-wait-for-event-timeout-%%
* since: v1.9
### option: Page.waitForConsoleMessage.signal = %%-wait-for-event-signal-%%

### param: Page.waitForConsoleMessage.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand Down Expand Up @@ -4571,7 +4569,6 @@ Receives the [Download] object and resolves to truthy value when the waiting sho

### option: Page.waitForDownload.timeout = %%-wait-for-event-timeout-%%
* since: v1.9
### option: Page.waitForDownload.signal = %%-wait-for-event-signal-%%

### param: Page.waitForDownload.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand Down Expand Up @@ -4628,7 +4625,6 @@ Either a predicate that receives an event or an options object. Optional.

### option: Page.waitForEvent.timeout = %%-wait-for-event-timeout-%%
* since: v1.8
### option: Page.waitForEvent.signal = %%-wait-for-event-signal-%%

## async method: Page.waitForFileChooser
* since: v1.9
Expand Down Expand Up @@ -4657,7 +4653,6 @@ Receives the [FileChooser] object and resolves to truthy value when the waiting

### option: Page.waitForFileChooser.timeout = %%-wait-for-event-timeout-%%
* since: v1.9
### option: Page.waitForFileChooser.signal = %%-wait-for-event-signal-%%

### param: Page.waitForFileChooser.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand Down Expand Up @@ -4895,7 +4890,6 @@ Console.WriteLine(await popup.TitleAsync()); // popup is ready to use.

### option: Page.waitForLoadState.timeout = %%-navigation-timeout-js-%%
* since: v1.8
### option: Page.waitForLoadState.signal = %%-wait-for-event-signal-%%

## async method: Page.waitForNavigation
* since: v1.8
Expand Down Expand Up @@ -4982,7 +4976,6 @@ a navigation.

### option: Page.waitForNavigation.timeout = %%-navigation-timeout-js-%%
* since: v1.8
### option: Page.waitForNavigation.signal = %%-wait-for-event-signal-%%

### param: Page.waitForNavigation.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand Down Expand Up @@ -5014,7 +5007,6 @@ Receives the [Page] object and resolves to truthy value when the waiting should

### option: Page.waitForPopup.timeout = %%-wait-for-event-timeout-%%
* since: v1.9
### option: Page.waitForPopup.signal = %%-wait-for-event-signal-%%

### param: Page.waitForPopup.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand Down Expand Up @@ -5124,8 +5116,6 @@ Request URL string, regex or predicate receiving [Request] object.
Maximum wait time in milliseconds, defaults to 30 seconds, pass `0` to disable the timeout. The default value can be
changed by using the [`method: Page.setDefaultTimeout`] method.

### option: Page.waitForRequest.signal = %%-wait-for-event-signal-%%

### param: Page.waitForRequest.callback = %%-java-wait-for-event-callback-%%
* since: v1.9

Expand Down Expand Up @@ -5156,7 +5146,6 @@ Receives the [Request] object and resolves to truthy value when the waiting shou

### option: Page.waitForRequestFinished.timeout = %%-wait-for-event-timeout-%%
* since: v1.12
### option: Page.waitForRequestFinished.signal = %%-wait-for-event-signal-%%

### param: Page.waitForRequestFinished.callback = %%-java-wait-for-event-callback-%%
* since: v1.12
Expand Down Expand Up @@ -5273,8 +5262,6 @@ it gets merged via the [`new URL()`](https://developer.mozilla.org/en-US/docs/We
Maximum wait time in milliseconds, defaults to 30 seconds, pass `0` to disable the timeout. The default value can be
changed by using the [`method: BrowserContext.setDefaultTimeout`] or [`method: Page.setDefaultTimeout`] methods.

### option: Page.waitForResponse.signal = %%-wait-for-event-signal-%%

### param: Page.waitForResponse.callback = %%-java-wait-for-event-callback-%%
* since: v1.9

Expand Down Expand Up @@ -5526,7 +5513,6 @@ await page.WaitForURLAsync("**/target.html");

### option: Page.waitForURL.timeout = %%-navigation-timeout-js-%%
* since: v1.11
### option: Page.waitForURL.signal = %%-wait-for-event-signal-%%

### option: Page.waitForURL.waitUntil = %%-navigation-wait-until-%%
* since: v1.11
Expand Down Expand Up @@ -5558,7 +5544,6 @@ Receives the [WebSocket] object and resolves to truthy value when the waiting sh

### option: Page.waitForWebSocket.timeout = %%-wait-for-event-timeout-%%
* since: v1.9
### option: Page.waitForWebSocket.signal = %%-wait-for-event-signal-%%

### param: Page.waitForWebSocket.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand Down Expand Up @@ -5590,7 +5575,6 @@ Receives the [Worker] object and resolves to truthy value when the waiting shoul

### option: Page.waitForWorker.timeout = %%-wait-for-event-timeout-%%
* since: v1.9
### option: Page.waitForWorker.signal = %%-wait-for-event-signal-%%

### param: Page.waitForWorker.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand Down Expand Up @@ -5628,4 +5612,3 @@ Will throw an error if the page is closed before the `event` is fired.

### option: Page.waitForEvent2.timeout = %%-wait-for-event-timeout-%%
* since: v1.8
### option: Page.waitForEvent2.signal = %%-wait-for-event-signal-%%
4 changes: 0 additions & 4 deletions docs/src/api/class-websocket.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ Either a predicate that receives an event or an options object. Optional.

### option: WebSocket.waitForEvent.timeout = %%-wait-for-event-timeout-%%
* since: v1.8
### option: WebSocket.waitForEvent.signal = %%-wait-for-event-signal-%%

## async method: WebSocket.waitForFrameReceived
* since: v1.10
Expand All @@ -116,7 +115,6 @@ Receives the [WebSocketFrame] object and resolves to truthy value when the waiti

### option: WebSocket.waitForFrameReceived.timeout = %%-wait-for-event-timeout-%%
* since: v1.9
### option: WebSocket.waitForFrameReceived.signal = %%-wait-for-event-signal-%%

### param: WebSocket.waitForFrameReceived.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand All @@ -138,7 +136,6 @@ Receives the [WebSocketFrame] object and resolves to truthy value when the waiti

### option: WebSocket.waitForFrameSent.timeout = %%-wait-for-event-timeout-%%
* since: v1.9
### option: WebSocket.waitForFrameSent.signal = %%-wait-for-event-signal-%%

### param: WebSocket.waitForFrameSent.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand All @@ -165,4 +162,3 @@ Will throw an error if the socket is closed before the `event` is fired.

### option: WebSocket.waitForEvent2.timeout = %%-wait-for-event-timeout-%%
* since: v1.8
### option: WebSocket.waitForEvent2.signal = %%-wait-for-event-signal-%%
3 changes: 0 additions & 3 deletions docs/src/api/class-worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ Performs action and waits for the Worker to close.

### option: Worker.waitForClose.timeout = %%-wait-for-event-timeout-%%
* since: v1.9
### option: Worker.waitForClose.signal = %%-wait-for-event-signal-%%

### param: Worker.waitForClose.callback = %%-java-wait-for-event-callback-%%
* since: v1.9
Expand All @@ -146,7 +145,6 @@ Receives the [ConsoleMessage] object and resolves to true when the waiting shoul

### option: Worker.waitForConsoleMessage.timeout = %%-wait-for-event-timeout-%%
* since: v1.57
### option: Worker.waitForConsoleMessage.signal = %%-wait-for-event-signal-%%

### param: Worker.waitForConsoleMessage.callback = %%-java-wait-for-event-callback-%%
* since: v1.57
Expand Down Expand Up @@ -205,4 +203,3 @@ Either a predicate that receives an event or an options object. Optional.

### option: Worker.waitForEvent.timeout = %%-wait-for-event-timeout-%%
* since: v1.57
### option: Worker.waitForEvent.signal = %%-wait-for-event-signal-%%
8 changes: 0 additions & 8 deletions docs/src/api/params.md
Original file line number Diff line number Diff line change
Expand Up @@ -991,14 +991,6 @@ Receives the event data and resolves to truthy value when the waiting should res
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`].

## wait-for-event-signal
* langs: js
* since: v1.61
- `signal` <[AbortSignal]>

Allows to cancel the waiting using an [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal). If the signal is aborted, the waiting will be aborted and the operation will throw an error.
Note that providing a signal does not disable the default timeout; pass `timeout: 0` to disable the timeout entirely.

## android-timeout
* langs: js
- `timeout` <[float]>
Expand Down
Loading
Loading