puppeteer/website/versioned_docs/version-16.1.0/api/puppeteer.consolemessage.args.md

20 lines
258 B
Markdown
Raw Normal View History

---
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.