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

Method body

playwright/_impl/_network.py:920–925  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

918 await on_finished_task
919
920 async def body(self) -> bytes:
921 binary = await self._channel.send(
922 "body",
923 None,
924 )
925 return base64.b64decode(binary)
926
927 async def text(self) -> str:
928 content = await self.body()

Calls 1

sendMethod · 0.45