<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [puppeteer](./puppeteer.md) > [ConsoleMessage](./puppeteer.consolemessage.md) > [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.