puppeteer/docs/api/puppeteer.frame.content.md

20 lines
242 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
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.