mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-12 11:50:22 +03:00
docs: fix since version for the methods new in 1.34 (#23315)
This commit is contained in:
parent
f301ddfc7e
commit
962c32ae10
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user