diff --git a/docs/src/api/class-browsercontext.md b/docs/src/api/class-browsercontext.md index baa410c37c..b2c5c0ca88 100644 --- a/docs/src/api/class-browsercontext.md +++ b/docs/src/api/class-browsercontext.md @@ -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. diff --git a/docs/src/api/class-consolemessage.md b/docs/src/api/class-consolemessage.md index aab4a4c5d2..812b5dd204 100644 --- a/docs/src/api/class-consolemessage.md +++ b/docs/src/api/class-consolemessage.md @@ -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. diff --git a/docs/src/api/class-dialog.md b/docs/src/api/class-dialog.md index a40baca69d..ef33e5ad05 100644 --- a/docs/src/api/class-dialog.md +++ b/docs/src/api/class-dialog.md @@ -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.