mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-08 12:28:46 +03:00
docs: fix typo in ConsoleMessage class (#30857)
This commit is contained in:
parent
e7a11c0ca2
commit
5b00ce1594
@ -2,7 +2,7 @@
|
|||||||
* since: v1.8
|
* since: v1.8
|
||||||
|
|
||||||
[ConsoleMessage] objects are dispatched by page via the [`event: Page.console`] event.
|
[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.
|
context.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
4
packages/playwright-core/types/types.d.ts
vendored
4
packages/playwright-core/types/types.d.ts
vendored
@ -17209,8 +17209,8 @@ export interface BrowserServer {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* {@link ConsoleMessage} objects are dispatched by page via the
|
* {@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
|
* [page.on('console')](https://playwright.dev/docs/api/class-page#page-event-console) event. For each console message
|
||||||
* messages logged in the page there will be corresponding event in the Playwright context.
|
* logged in the page there will be corresponding event in the Playwright context.
|
||||||
*
|
*
|
||||||
* ```js
|
* ```js
|
||||||
* // Listen for all console logs
|
* // Listen for all console logs
|
||||||
|
Loading…
Reference in New Issue
Block a user