---
title: "ConsoleMessage | Grafana k6 documentation"
description: "Browser module: ConsoleMessage Class"
---

# ConsoleMessage

> Caution
> 
> This API is a work in progress. Some of the following functionalities might behave unexpectedly.

## Supported APIs

Expand table

| Method | Description                                                      |
|--------|------------------------------------------------------------------|
| args() | List of arguments passed to a `console` function call.           |
| page() | The page that produced this console message.                     |
| text() | The text of the console message.                                 |
| type() | The type of the console message. For example: `log`, or `debug`. |
