puppeteer/docs/api/puppeteer.httpresponse.frame.md
2023-11-06 10:15:09 +01:00

20 lines
322 B
Markdown

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