mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
docs: fix typo on waitForConsoleMessage (#6183)
This commit is contained in:
parent
b3b87f6c69
commit
610d1fd456
@ -2557,7 +2557,7 @@ Performs action and waits for the Page to close.
|
|||||||
- alias-python: expect_console_message
|
- alias-python: expect_console_message
|
||||||
- returns: <[ConsoleMessage]>
|
- 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.
|
[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.
|
Will throw an error if the page is closed before the console event is fired.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user