mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
2.9 KiB
JavaScript
2 lines
2.9 KiB
JavaScript
/*! For license information please see 2e9b4613.aaf89b82.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[43645],{36438:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>i,contentTitle:()=>a,default:()=>u,frontMatter:()=>t,metadata:()=>l,toc:()=>p});var r=n(85893),o=n(11151);const t={sidebar_label:"ConsoleMessage.args"},a="ConsoleMessage.args() method",l={id:"api/puppeteer.consolemessage.args",title:"ConsoleMessage.args() method",description:"An array of arguments passed to the console.",source:"@site/versioned_docs/version-22.8.2/api/puppeteer.consolemessage.args.md",sourceDirName:"api",slug:"/api/puppeteer.consolemessage.args",permalink:"/api/puppeteer.consolemessage.args",draft:!1,unlisted:!1,tags:[],version:"22.8.2",frontMatter:{sidebar_label:"ConsoleMessage.args"},sidebar:"api",previous:{title:"ConsoleMessage.(constructor)",permalink:"/api/puppeteer.consolemessage._constructor_"},next:{title:"ConsoleMessage.location",permalink:"/api/puppeteer.consolemessage.location"}},i={},p=[{value:"Signature:",id:"signature",level:4}];function c(e){const s={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h1,{id:"consolemessageargs-method",children:"ConsoleMessage.args() method"}),"\n",(0,r.jsx)(s.p,{children:"An array of arguments passed to the console."}),"\n",(0,r.jsx)(s.h4,{id:"signature",children:"Signature:"}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-typescript",children:"class ConsoleMessage {\n args(): JSHandle[];\n}\n"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns:"})}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/api/puppeteer.jshandle",children:"JSHandle"}),"[]"]})]})}function u(e={}){const{wrapper:s}={...(0,o.a)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},75251:(e,s,n)=>{var r=n(67294),o=Symbol.for("react.element"),t=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function p(e,s,n){var r,t={},p=null,c=null;for(r in void 0!==n&&(p=""+n),void 0!==s.key&&(p=""+s.key),void 0!==s.ref&&(c=s.ref),s)a.call(s,r)&&!i.hasOwnProperty(r)&&(t[r]=s[r]);if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===t[r]&&(t[r]=s[r]);return{$$typeof:o,type:e,key:p,ref:c,props:t,_owner:l.current}}s.Fragment=t,s.jsx=p,s.jsxs=p},85893:(e,s,n)=>{e.exports=n(75251)},11151:(e,s,n)=>{n.d(s,{Z:()=>l,a:()=>a});var r=n(67294);const o={},t=r.createContext(o);function a(e){const s=r.useContext(t);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),r.createElement(t.Provider,{value:s},e.children)}}}]); |