<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [ConsoleMessage](./puppeteer.consolemessage.md) &gt; [args](./puppeteer.consolemessage.args.md)

## ConsoleMessage.args() method

<b>Signature:</b>

```typescript
args(): JSHandle[];
```
<b>Returns:</b>

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

An array of arguments passed to the console.