Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: replace bool with boolean (#5431)
Yury Semikhatsky55614c7cc876
diff --git a/docs/src/api/class-browsercontext.md b/docs/src/api/class-browsercontext.mdindex d1be89b693..7d6b2fead0 100644--- a/docs/src/api/class-browsercontext.md+++ b/docs/src/api/class-browsercontext.md@@ -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.diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.mdindex c6e7bfc434..10e2950e2b 100644--- a/docs/src/api/class-page.md+++ b/docs/src/api/class-page.md@@ -2231,7 +2231,7 @@ Performs action and waits for a [ConoleMessage] to be logged by in the page. IfWill 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 pasWill 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 isWill 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 passeWill 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 paWill 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 passeWill 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.diff --git a/docs/src/api/class-websocket.md b/docs/src/api/class-websocket.mdindex d1aa1a0322..7db9ffa0dc 100644--- a/docs/src/api/class-websocket.md+++ b/docs/src/api/class-websocket.md@@ -72,7 +72,7 @@ Performs action and waits for a frame to be sent. If predicate is provided, it pWill 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 pWill 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.