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

Method response

playwright/sync_api/_generated.py:363–373  ·  view source on GitHub ↗

Request.response Returns the matching `Response` object, or `null` if the response was not received due to error. Returns ------- Union[Response, None]

(self)

Source from the content-addressed store, hash-verified

361 return mapping.from_impl(self._sync(self._impl_obj.sizes()))
362
363 def response(self) -> typing.Optional["Response"]:
364 """Request.response
365
366 Returns the matching `Response` object, or `null` if the response was not received due to error.
367
368 Returns
369 -------
370 Union[Response, None]
371 """
372
373 return mapping.from_impl_nullable(self._sync(self._impl_obj.response()))
374
375 def is_navigation_request(self) -> bool:
376 """Request.is_navigation_request

Callers

nothing calls this directly

Calls 2

from_impl_nullableMethod · 0.80
_syncMethod · 0.45

Tested by

no test coverage detected