<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [puppeteer](./puppeteer.md) > [ConsoleMessageLocation](./puppeteer.consolemessagelocation.md) > [lineNumber](./puppeteer.consolemessagelocation.linenumber.md) ## ConsoleMessageLocation.lineNumber property 0-based line number in the resource if known or `undefined` otherwise. <b>Signature:</b> ```typescript lineNumber?: number; ```