<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Frame](./puppeteer.frame.md) &gt; [content](./puppeteer.frame.content.md)

## Frame.content() method

<b>Signature:</b>

```typescript
content(): Promise<string>;
```
<b>Returns:</b>

Promise&lt;string&gt;

the full HTML contents of the frame, including the doctype.