Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: fix typo on waitForConsoleMessage (#6183)

Darío Kondratiuk610d1fd456ae
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.