puppeteer/website/versioned_docs/version-17.0.0/api/puppeteer.httprequest.response.md

20 lines
322 B
Markdown
Raw Normal View History

---
sidebar_label: HTTPRequest.response
---
# HTTPRequest.response() method
**Signature:**
```typescript
class HTTPRequest {
response(): HTTPResponse | null;
}
```
**Returns:**
[HTTPResponse](./puppeteer.httpresponse.md) \| null
A matching `HTTPResponse` object, or null if the response has not been received yet.