puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.frame.content.md
2022-11-03 11:02:28 +01:00

20 lines
243 B
Markdown

---
sidebar_label: Frame.content
---
# Frame.content() method
#### Signature:
```typescript
class Frame {
content(): Promise<string>;
}
```
**Returns:**
Promise&lt;string&gt;
The full HTML contents of the frame, including the DOCTYPE.