Menu
Open source

Response

Caution

This API is a work in progress. Some of the following functionalities might behave unexpectedly.

Supported APIs

MethodPlaywright Relevant DistinctionsDescription
response.allHeaders()--
response.body()--
response.frame()--
response.headers()--
response.headersArray()--
response.headerValue(name)--
response.headerValues(name)--
response.json()--
response.ok()--
response.request()--
response.securityDetails()--
response.serverAddr()--
response.status()--
response.statusText()--
response.size()-Similar to Request.size(), this returns the size of response headers and body sections.
response.url()--