puppeteer/website/versioned_docs/version-10.1.0/puppeteer.httpresponse.ok.md
2021-08-10 11:09:48 +01:00

401 B

Home > puppeteer > HTTPResponse > ok

HTTPResponse.ok() method

Signature:

ok(): boolean;

Returns:

boolean

True if the response was successful (status in the range 200-299).