puppeteer/website/versioned_docs/version-18.0.5/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.