---
sidebar_label: ConsoleMessage.args
---

# ConsoleMessage.args() method

An array of arguments passed to the console.

### Signature

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

**Returns:**

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