From 610d1fd456ae7a05bb4850801cd22c2383cd7a7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Mon, 12 Apr 2021 13:10:05 -0300 Subject: [PATCH] docs: fix typo on waitForConsoleMessage (#6183) --- docs/src/api/class-page.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md index 594afece3a..7805f9a882 100644 --- a/docs/src/api/class-page.md +++ b/docs/src/api/class-page.md @@ -2557,7 +2557,7 @@ Performs action and waits for the Page to close. - alias-python: expect_console_message - returns: <[ConsoleMessage]> -Performs action and waits for a [ConoleMessage] to be logged by in the page. If predicate is provided, it passes +Performs action and waits for a [ConsoleMessage] to be logged by in the page. If predicate is provided, it passes [ConsoleMessage] value into the `predicate` function and waits for `predicate(message)` to return a truthy value. Will throw an error if the page is closed before the console event is fired.