docs: fix since version for the methods new in 1.34 (#23315)

This commit is contained in:
Yury Semikhatsky 2023-05-26 11:03:31 -07:00 committed by GitHub
parent f301ddfc7e
commit 962c32ae10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -95,7 +95,7 @@ Emitted when Browser context gets closed. This might happen because of one of th
* The [`method: Browser.close`] method was called.
## event: BrowserContext.console
* since: v1.33
* since: v1.34
* langs:
- alias-java: consoleMessage
- argument: <[ConsoleMessage]>
@ -156,7 +156,7 @@ await page.EvaluateAsync("console.log('hello', 5, { foo: 'bar' })");
## event: BrowserContext.dialog
* since: v1.33
* since: v1.34
- argument: <[Dialog]>
Emitted when a JavaScript dialog appears, such as `alert`, `prompt`, `confirm` or `beforeunload`. Listener **must** either [`method: Dialog.accept`] or [`method: Dialog.dismiss`] the dialog - otherwise the page will [freeze](https://developer.mozilla.org/en-US/docs/Web/JavaScript/EventLoop#never_blocking) waiting for the dialog, and actions like click will never finish.

View File

@ -126,7 +126,7 @@ List of arguments passed to a `console` function call. See also [`event: Page.co
URL of the resource followed by 0-based line and column numbers in the resource formatted as `URL:line:column`.
## method: ConsoleMessage.page
* since: v1.33
* since: v1.34
- returns: <[null]|[Page]>
The page that produced this console message, if any.

View File

@ -138,7 +138,7 @@ Returns when the dialog has been dismissed.
A message displayed in the dialog.
## method: Dialog.page
* since: v1.33
* since: v1.34
- returns: <[null]|[Page]>
The page that initiated this dialog, if available.