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

17 lines
294 B
Markdown
Raw Normal View History

---
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.