[Home](./index.md) > [puppeteer](./puppeteer.md) > [Frame](./puppeteer.frame.md) > [content](./puppeteer.frame.content.md)
## Frame.content() method
Signature:
```typescript
content(): Promise;
```
Returns:
Promise<string>
the full HTML contents of the frame, including the doctype.