mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
313 B
Markdown
20 lines
313 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 {
|
|
frame(): Frame | null;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
[Frame](./puppeteer.frame.md) \| null
|