puppeteer/assets/js/45375c0b.79c2522f.js

2 lines
2.8 KiB
JavaScript
Raw Normal View History

/*! For license information please see 45375c0b.79c2522f.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[36095],{27509:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>u,frontMatter:()=>r,metadata:()=>i,toc:()=>p});var n=s(85893),o=s(11151);const r={sidebar_label:"ConsoleMessage.text"},a="ConsoleMessage.text() method",i={id:"api/puppeteer.consolemessage.text",title:"ConsoleMessage.text() method",description:"The text of the console message.",source:"@site/versioned_docs/version-22.8.2/api/puppeteer.consolemessage.text.md",sourceDirName:"api",slug:"/api/puppeteer.consolemessage.text",permalink:"/api/puppeteer.consolemessage.text",draft:!1,unlisted:!1,tags:[],version:"22.8.2",frontMatter:{sidebar_label:"ConsoleMessage.text"},sidebar:"api",previous:{title:"ConsoleMessage.stackTrace",permalink:"/api/puppeteer.consolemessage.stacktrace"},next:{title:"ConsoleMessage.type",permalink:"/api/puppeteer.consolemessage.type"}},c={},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,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={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)&&!c.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:i.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:()=>i,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 i(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)}}}]);