mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: replace bool with boolean (#5431)
This commit is contained in:
parent
ccfb3c3a1e
commit
55614c7cc8
@ -805,7 +805,7 @@ Will throw an error if the context closes before new [Page] is created.
|
||||
|
||||
### option: BrowserContext.waitForPage.predicate =
|
||||
* langs: csharp, java, python
|
||||
- `predicate` <[function]\([Page]\):[bool]>
|
||||
- `predicate` <[function]\([Page]\):[boolean]>
|
||||
|
||||
Receives the [Page] object and resolves to truthy value when the waiting should resolve.
|
||||
|
||||
|
||||
@ -2231,7 +2231,7 @@ Performs action and waits for a [ConoleMessage] to be logged by in the page. If
|
||||
Will throw an error if the page is closed before the console event is fired.
|
||||
|
||||
### option: Page.waitForConsoleMessage.predicate =
|
||||
- `predicate` <[function]\([ConsoleMessage]\):[bool]>
|
||||
- `predicate` <[function]\([ConsoleMessage]\):[boolean]>
|
||||
|
||||
Receives the [ConsoleMessage] object and resolves to truthy value when the waiting should resolve.
|
||||
|
||||
@ -2247,7 +2247,7 @@ Performs action and waits for a new [Download]. If predicate is provided, it pas
|
||||
Will throw an error if the page is closed before the download event is fired.
|
||||
|
||||
### option: Page.waitForDownload.predicate =
|
||||
- `predicate` <[function]\([Download]\):[bool]>
|
||||
- `predicate` <[function]\([Download]\):[boolean]>
|
||||
|
||||
Receives the [Download] object and resolves to truthy value when the waiting should resolve.
|
||||
|
||||
@ -2301,7 +2301,7 @@ Performs action and waits for a new [FileChooser] to be created. If predicate is
|
||||
Will throw an error if the page is closed before the file chooser is opened.
|
||||
|
||||
### option: Page.waitForFileChooser.predicate =
|
||||
- `predicate` <[function]\([FileChooser]\):[bool]>
|
||||
- `predicate` <[function]\([FileChooser]\):[boolean]>
|
||||
|
||||
Receives the [FileChooser] object and resolves to truthy value when the waiting should resolve.
|
||||
|
||||
@ -2505,7 +2505,7 @@ Performs action and waits for a popup [Page]. If predicate is provided, it passe
|
||||
Will throw an error if the page is closed before the popup event is fired.
|
||||
|
||||
### option: Page.waitForPopup.predicate =
|
||||
- `predicate` <[function]\([Page]\):[bool]>
|
||||
- `predicate` <[function]\([Page]\):[boolean]>
|
||||
|
||||
Receives the [Page] object and resolves to truthy value when the waiting should resolve.
|
||||
|
||||
@ -2704,7 +2704,7 @@ Performs action and waits for a new [WebSocket]. If predicate is provided, it pa
|
||||
Will throw an error if the page is closed before the WebSocket event is fired.
|
||||
|
||||
### option: Page.waitForWebSocket.predicate =
|
||||
- `predicate` <[function]\([WebSocket]\):[bool]>
|
||||
- `predicate` <[function]\([WebSocket]\):[boolean]>
|
||||
|
||||
Receives the [WebSocket] object and resolves to truthy value when the waiting should resolve.
|
||||
|
||||
@ -2720,7 +2720,7 @@ Performs action and waits for a new [Worker]. If predicate is provided, it passe
|
||||
Will throw an error if the page is closed before the worker event is fired.
|
||||
|
||||
### option: Page.waitForWorker.predicate =
|
||||
- `predicate` <[function]\([Worker]\):[bool]>
|
||||
- `predicate` <[function]\([Worker]\):[boolean]>
|
||||
|
||||
Receives the [Worker] object and resolves to truthy value when the waiting should resolve.
|
||||
|
||||
|
||||
@ -72,7 +72,7 @@ Performs action and waits for a frame to be sent. If predicate is provided, it p
|
||||
Will throw an error if the WebSocket or Page is closed before the frame is received.
|
||||
|
||||
### option: WebSocket.waitForFrameReceived.predicate
|
||||
- `predicate` <[function]\([WebSocketFrame]\):[bool]>
|
||||
- `predicate` <[function]\([WebSocketFrame]\):[boolean]>
|
||||
|
||||
Receives the [WebSocketFrame] object and resolves to truthy value when the waiting should resolve.
|
||||
|
||||
@ -87,7 +87,7 @@ Performs action and waits for a frame to be sent. If predicate is provided, it p
|
||||
Will throw an error if the WebSocket or Page is closed before the frame is sent.
|
||||
|
||||
### option: WebSocket.waitForFrameSent.predicate
|
||||
- `predicate` <[function]\([WebSocketFrame]\):[bool]>
|
||||
- `predicate` <[function]\([WebSocketFrame]\):[boolean]>
|
||||
|
||||
Receives the [WebSocketFrame] object and resolves to truthy value when the waiting should resolve.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user