puppeteer/docs/api/puppeteer.frame.content.md
2022-07-05 15:41:43 +02:00

20 lines
242 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.