puppeteer/website/versioned_docs/version-20.7.0/api/puppeteer.httpresponse.frame.md

20 lines
313 B
Markdown
Raw Normal View History

---
sidebar_label: HTTPResponse.frame
---
# HTTPResponse.frame() method
A [Frame](./puppeteer.frame.md) that initiated this response, or `null` if navigating to error pages.
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
class HTTPResponse {
frame(): Frame | null;
}
```
**Returns:**
[Frame](./puppeteer.frame.md) \| null