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

Function _handle_response

tests/sync/test_tracing.py:190–193  ·  view source on GitHub ↗
(response: Response)

Source from the content-addressed store, hash-verified

188 received_response = threading.Event()
189
190 def _handle_response(response: Response) -> None:
191 response.request.all_headers()
192 response.text()
193 received_response.set()
194
195 page.once("response", _handle_response)
196 page.goto(server.PREFIX + "/grid.html")

Callers

nothing calls this directly

Calls 3

setMethod · 0.80
all_headersMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected