Skip to content
masterclass Buddy

Playwright · Class

Response

Response represents an HTTP response received by a page. It exposes the URL, status, headers, frame, and body, and can parse the body as text, bytes, or JSON.

Last updated

Since
before v1.9

Syntax

response.ok()
response.status()
await response.text()
await response.json()

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Request
  • APIResponse
  • Page.waitForResponse

Source: Response | Playwright. Checked 2026-11-03.