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

20 lines
293 B
Markdown

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