docs: fix typo in ConsoleMessage class (#30857)

This commit is contained in:
Olaf Alders 2024-05-22 07:31:14 -04:00 committed by GitHub
parent e7a11c0ca2
commit 5b00ce1594
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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