> ## Documentation Index
> Fetch the complete documentation index at: https://docs.extractbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ConsoleMessage

Details of a console message logged by the page's JavaScript.

## Definition

```graphql theme={null}
object ConsoleMessage {
  args: [JSON]
  location: ConsoleMessageLocation
  stackTrace: [ConsoleMessageLocation]
  text: String
  type: String
}
```

## Fields

### `args`

[\[JSON\]](/reference/graphql/scalars/json)

Arguments passed to the console function (e.g., console.log(arg1, arg2)).

### `location`

[ConsoleMessageLocation](/reference/graphql/objects/console-message-location)

Location in the source code where the console message originated.

### `stackTrace`

[\[ConsoleMessageLocation\]](/reference/graphql/objects/console-message-location)

Stack trace if the console message was part of an error or warning.

### `text`

[String](/reference/graphql/scalars/string)

The text of the console message.

### `type`

[String](/reference/graphql/scalars/string)

The type of console message (e.g., 'log', 'warning', 'error', 'info', 'debug').
