<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [puppeteer](./puppeteer.md) > [Frame](./puppeteer.frame.md) > [content](./puppeteer.frame.content.md) ## Frame.content() method <b>Signature:</b> ```typescript content(): Promise<string>; ``` <b>Returns:</b> Promise<string> the full HTML contents of the frame, including the doctype.