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

236 B

sidebar_label
HTTPResponse.status

HTTPResponse.status() method

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

Signature:

class HTTPResponse {
  status(): number;
}

Returns:

number