[Home](./index.md) > [puppeteer](./puppeteer.md) > [ConsoleMessage](./puppeteer.consolemessage.md) > [args](./puppeteer.consolemessage.args.md)
## ConsoleMessage.args() method
Signature:
```typescript
args(): JSHandle[];
```
Returns:
[JSHandle](./puppeteer.jshandle.md)\[\]
An array of arguments passed to the console.