docs: replace bool with boolean (#5431)

This commit is contained in:
Yury Semikhatsky 2021-02-12 09:19:41 -08:00 committed by GitHub
parent ccfb3c3a1e
commit 55614c7cc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View File

@ -805,7 +805,7 @@ Will throw an error if the context closes before new [Page] is created.
### option: BrowserContext.waitForPage.predicate = ### option: BrowserContext.waitForPage.predicate =
* langs: csharp, java, python * 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. Receives the [Page] object and resolves to truthy value when the waiting should resolve.

View File

@ -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. Will throw an error if the page is closed before the console event is fired.
### option: Page.waitForConsoleMessage.predicate = ### 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. 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. Will throw an error if the page is closed before the download event is fired.
### option: Page.waitForDownload.predicate = ### 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. 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. Will throw an error if the page is closed before the file chooser is opened.
### option: Page.waitForFileChooser.predicate = ### 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. 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. Will throw an error if the page is closed before the popup event is fired.
### option: Page.waitForPopup.predicate = ### 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. 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. Will throw an error if the page is closed before the WebSocket event is fired.
### option: Page.waitForWebSocket.predicate = ### 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. 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. Will throw an error if the page is closed before the worker event is fired.
### option: Page.waitForWorker.predicate = ### 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. Receives the [Worker] object and resolves to truthy value when the waiting should resolve.

View File

@ -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. Will throw an error if the WebSocket or Page is closed before the frame is received.
### option: WebSocket.waitForFrameReceived.predicate ### 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. 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. Will throw an error if the WebSocket or Page is closed before the frame is sent.
### option: WebSocket.waitForFrameSent.predicate ### 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. Receives the [WebSocketFrame] object and resolves to truthy value when the waiting should resolve.