Fix typo in api/class-consolemessage.md

This commit is contained in:
Olaf Alders 2024-05-16 15:23:45 -04:00
parent 1526f1b522
commit 1dbfa8765a
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
* since: v1.8
[ConsoleMessage] objects are dispatched by page via the [`event: Page.console`] event.
For each console messages logged in the page there will be corresponding event in the Playwright
For each console message logged in the page there will be corresponding event in the Playwright
context.
```js

View file

@ -17209,8 +17209,8 @@ export interface BrowserServer {
/**
* {@link ConsoleMessage} objects are dispatched by page via the
* [page.on('console')](https://playwright.dev/docs/api/class-page#page-event-console) event. For each console
* messages logged in the page there will be corresponding event in the Playwright context.
* [page.on('console')](https://playwright.dev/docs/api/class-page#page-event-console) event. For each console message
* logged in the page there will be corresponding event in the Playwright context.
*
* ```js
* // Listen for all console logs