puppeteer/website/versioned_docs/version-10.0.0/puppeteer.httprequest.responseforrequest.md

18 lines
590 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [HTTPRequest](./puppeteer.httprequest.md) &gt; [responseForRequest](./puppeteer.httprequest.responseforrequest.md)
## HTTPRequest.responseForRequest() method
<b>Signature:</b>
```typescript
responseForRequest(): Partial<ResponseForRequest>;
```
<b>Returns:</b>
Partial&lt;[ResponseForRequest](./puppeteer.responseforrequest.md)&gt;
The `ResponseForRequest` that gets used if the interception is allowed to respond (ie, `abort()` is not called).