puppeteer/new-docs/puppeteer.httpresponse.ok.md

18 lines
418 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; [HTTPResponse](./puppeteer.httpresponse.md) &gt; [ok](./puppeteer.httpresponse.ok.md)
## HTTPResponse.ok() method
<b>Signature:</b>
```typescript
ok(): boolean;
```
<b>Returns:</b>
boolean
True if the response was successful (status in the range 200-299).