puppeteer/docs/api/puppeteer.httprequest.frame.md

20 lines
284 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 {
frame(): Frame | null;
}
```
**Returns:**
[Frame](./puppeteer.frame.md) \| null