puppeteer/docs/api/puppeteer.httpresponse.frame.md

20 lines
322 B
Markdown
Raw Normal View History

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