2020-06-04 14:56:45 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [HTTPResponse](./puppeteer.httpresponse.md) > [ok](./puppeteer.httpresponse.ok.md)
|
|
|
|
|
|
|
|
## HTTPResponse.ok() method
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
ok(): boolean;
|
|
|
|
```
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
boolean
|
|
|
|
|
2020-06-25 09:26:36 +00:00
|
|
|
True if the response was successful (status in the range 200-299).
|
|
|
|
|