On this pagePlaywrightHttpResponse Wrapper class for playwright Response and APIResponse objects to implement HttpResponse protocol.Index Methodsfrom_playwright_responsereadPropertiesheadershttp_versionstatus_codeMethods from_playwright_responseasync from_playwright_response(response, protocol): SelfParametersresponse: Response | APIResponseprotocol: strReturns Selfread read(): bytesReturns bytesProperties headersheaders: HttpHeadershttp_versionhttp_version: strstatus_codestatus_code: int
Wrapper class for playwright
Response
andAPIResponse
objects to implementHttpResponse
protocol.