Skip to content

Commit

Permalink
docs: fix typo in ConsoleMessage class (#30857)
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders authored May 22, 2024
1 parent e7a11c0 commit 5b00ce1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/api/class-consolemessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/playwright-core/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b00ce1

Please sign in to comment.