MCPcopy Index your code
hub / github.com/microsoft/playwright-python / _handle_response

Function _handle_response

tests/async/test_tracing.py:188–191  ·  view source on GitHub ↗
(response: Response)

Source from the content-addressed store, hash-verified

186 received_response: "asyncio.Future[None]" = asyncio.Future()
187
188 async def _handle_response(response: Response) -> None:
189 await response.request.all_headers()
190 await response.text()
191 received_response.set_result(None)
192
193 page.once("response", _handle_response)
194 await page.goto(server.PREFIX + "/grid.html")

Callers

nothing calls this directly

Calls 2

all_headersMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected