|
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[84713],{21824:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>i,contentTitle:()=>a,default:()=>u,frontMatter:()=>r,metadata:()=>c,toc:()=>p});var n=s(85893),o=s(11151);const r={sidebar_label:"ConsoleMessage.text"},a="ConsoleMessage.text() method",c={id:"api/puppeteer.consolemessage.text",title:"ConsoleMessage.text() method",description:"The text of the console message.",source:"@site/../docs/api/puppeteer.consolemessage.text.md",sourceDirName:"api",slug:"/api/puppeteer.consolemessage.text",permalink:"/next/api/puppeteer.consolemessage.text",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"ConsoleMessage.text"},sidebar:"api",previous:{title:"ConsoleMessage.stackTrace",permalink:"/next/api/puppeteer.consolemessage.stacktrace"},next:{title:"ConsoleMessage.type",permalink:"/next/api/puppeteer.consolemessage.type"}},i={},p=[{value:"Signature:",id:"signature",level:4}];function l(e){const t={code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,o.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"consolemessagetext-method",children:"ConsoleMessage.text() method"}),"\n",(0,n.jsx)(t.p,{children:"The text of the console message."}),"\n",(0,n.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-typescript",children:"class ConsoleMessage {\n text(): string;\n}\n"})}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.strong,{children:"Returns:"})}),"\n",(0,n.jsx)(t.p,{children:"string"})]})}function u(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},75251:(e,t,s)=>{var n=s(67294),o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,c=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function p(e,t,s){var n,r={},p=null,l=null;for(n in void 0!==s&&(p=""+s),void 0!==t.key&&(p=""+t.key),void 0!==t.ref&&(l=t.ref),t)a.call(t,n)&&!i.hasOwnProperty(n)&&(r[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===r[n]&&(r[n]=t[n]);return{$$typeof:o,type:e,key:p,ref:l,props:r,_owner:c.current}}t.Fragment=r,t.jsx=p,t.jsxs=p},85893:(e,t,s)=>{e.exports=s(75251)},11151:(e,t,s)=>{s.d(t,{Z:()=>c,a:()=>a});var n=s(67294);const o={},r=n.createContext(o);function a(e){const t=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]);
|