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

Function test_response_text_should_work

tests/async/test_network.py:548–551  ·  view source on GitHub ↗
(page: Page, server: Server)

Source from the content-addressed store, hash-verified

546
547
548async def test_response_text_should_work(page: Page, server: Server) -> None:
549 response = await page.goto(server.PREFIX + "/simple.json")
550 assert response
551 assert await response.text() == '{"foo": "bar"}\n'
552
553
554async def test_response_text_should_return_uncompressed_text(

Callers

nothing calls this directly

Calls 2

gotoMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected