Back to Puppeteer

HTTPResponse.status() method

website/versioned_docs/version-24.40.0/api/puppeteer.httpresponse.status.md

19.2.2198 B
Original Source

HTTPResponse.status() method

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

Signature

typescript
class HTTPResponse {
  abstract status(): number;
}

Returns:

number