"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[14438],{3905:(e,t,r)=>{r.d(t,{Zo:()=>i,kt:()=>m});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},i=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,i=p(e,["components","mdxType","originalType","parentName"]),g=c(r),m=o,f=g["".concat(l,".").concat(m)]||g[m]||u[m]||a;return r?n.createElement(f,s(s({ref:t},i),{},{components:r})):n.createElement(f,s({ref:t},i))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,s=new Array(a);s[0]=g;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:o,s[1]=p;for(var c=2;c{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>s,default:()=>u,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var n=r(87462),o=(r(67294),r(3905));const a={sidebar_label:"ConsoleMessage.args"},s="ConsoleMessage.args() method",p={unversionedId:"api/puppeteer.consolemessage.args",id:"version-17.1.1/api/puppeteer.consolemessage.args",title:"ConsoleMessage.args() method",description:"Signature:",source:"@site/versioned_docs/version-17.1.1/api/puppeteer.consolemessage.args.md",sourceDirName:"api",slug:"/api/puppeteer.consolemessage.args",permalink:"/api/puppeteer.consolemessage.args",draft:!1,tags:[],version:"17.1.1",frontMatter:{sidebar_label:"ConsoleMessage.args"},sidebar:"sidebar",previous:{title:"ConsoleMessage.(constructor)",permalink:"/api/puppeteer.consolemessage._constructor_"},next:{title:"ConsoleMessage.location",permalink:"/api/puppeteer.consolemessage.location"}},l={},c=[],i={toc:c};function u(e){let{components:t,...r}=e;return(0,o.kt)("wrapper",(0,n.Z)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"consolemessageargs-method"},"ConsoleMessage.args() method"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Signature:")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-typescript"},"class ConsoleMessage {\n args(): JSHandle[];\n}\n")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Returns:")),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"/api/puppeteer.jshandle"},"JSHandle"),"[","]"),(0,o.kt)("p",null,"An array of arguments passed to the console."))}u.isMDXComponent=!0}}]);