puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.httprequest.frame.md
2022-11-03 11:02:28 +01:00

20 lines
284 B
Markdown

---
sidebar_label: HTTPRequest.frame
---
# HTTPRequest.frame() method
#### 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.