PageSourceSearch

https://pptr.dev/assets/js/8278cb55.64deb4d9.js

js pptr.dev collected 2026-09-24 07:06:20 UTC 2,212 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["21418"],{28359(e,t,s){s.r(t),s.d(t,{metadata:()=>n,default:()=>d,frontMatter:()=>a,contentTitle:()=>i,toc:()=>p,assets:()=>l});var n=JSON.parse('{"id":"api/puppeteer.consolemessage.text","title":"ConsoleMessage.text() method","description":"The text of the console message.","source":"@site/versioned_docs/version-25.12.0/api/puppeteer.consolemessage.text.md","sourceDirName":"api","slug":"/api/puppeteer.consolemessage.text","permalink":"/api/puppeteer.consolemessage.text","draft":false,"unlisted":false,"tags":[],"version":"25.12.0","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"}}'),o=s(74848),r=s(28453);let a={sidebar_label:"ConsoleMessage.text"},i="ConsoleMessage.text() method",l={},p=[{value:"Signature",id:"signature",level:3}];function c(e){let t={code:"code",h1:"h1",h3:"h3",header:"header",p:"p",pre:"pre",strong:"strong",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"consolemessagetext-method",children:"ConsoleMessage.text() method"})}),"\n",(0,o.jsx)(t.p,{children:"The text of the console message."}),"\n",(0,o.jsx)(t.h3,{id:"signature",children:"Signature"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-typescript",children:"class ConsoleMessage {\n  text(): string;\n}\n"})}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.strong,{children:"Returns:"})}),"\n",(0,o.jsx)(t.p,{children:"string"})]})}function d(e={}){let{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},28453(e,t,s){s.d(t,{R:()=>a,x:()=>i});var n=s(96540);let o={},r=n.createContext(o);function a(e){let 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)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.