puppeteer/docs/api/puppeteer.httpresponse.status.md

246 B

sidebar_label
HTTPResponse.status

HTTPResponse.status() method

Signature:

class HTTPResponse {status(): number;}

Returns:

number

The status code of the response (e.g., 200 for a success).