puppeteer/website/versioned_docs/version-19.7.5/api/puppeteer.httprequest.frame.md

20 lines
284 B
Markdown
Raw Normal View History

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