Back to Puppeteer

HTTPResponse.status() method

docs/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