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

Function gather_response

tests/sync/test_page_event_request.py:43–46  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

41 all_requests = first_100_requests + last_100_requests
42
43 def gather_response(request: Request) -> dict:
44 response = request.response()
45 assert response
46 return {"text": response.text(), "url": request.url}
47
48 # All 199 requests are fully functional.
49 received = [gather_response(request) for request in all_requests]

Callers 1

Calls 2

responseMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected