Skip to content

Commit

Permalink
docs: replace bool with boolean (#5431)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Feb 12, 2021
1 parent ccfb3c3 commit 55614c7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/src/api/class-browsercontext.md
Expand Up @@ -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.

Expand Down
12 changes: 6 additions & 6 deletions docs/src/api/class-page.md
Expand Up @@ -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.

Expand All @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand All @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions docs/src/api/class-websocket.md
Expand Up @@ -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.

Expand All @@ -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.

Expand Down

0 comments on commit 55614c7

Please sign in to comment.