---
sidebar_label: ConsoleMessage.args
---

# ConsoleMessage.args() method

**Signature:**

```typescript
class ConsoleMessage {
  args(): JSHandle[];
}
```

**Returns:**

[JSHandle](./puppeteer.jshandle.md)\[\]

An array of arguments passed to the console.
