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

Method text

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

Source from the content-addressed store, hash-verified

925 return base64.b64decode(binary)
926
927 async def text(self) -> str:
928 content = await self.body()
929 return content.decode()
930
931 async def json(self) -> Any:
932 return json.loads(await self.text())

Calls 1

bodyMethod · 0.95