diff --git a/release notes/v0.47.0.md b/release notes/v0.47.0.md index c7cf996ce4d..fced9d30f9e 100644 --- a/release notes/v0.47.0.md +++ b/release notes/v0.47.0.md @@ -59,6 +59,10 @@ context.clearCookies(); console.log(context.cookies.length); // 0 ``` +### Add support for browser module's `page.on('console')` [browser#1006](https://github.com/grafana/xk6-browser/pull/1006) + +Allows users to register a handler to be executed every time the `console` API methods are called from within the page's JavaScript context. The arguments passed into the handler are defined by the (ConsoleMessage)[https://k6.io/docs/javascript-api/k6-experimental/browser/consolemessage/] class. + ### UX improvements and enhancements _Format as ` . `_: