MCPcopy Create free account
hub / github.com/Vinyzu/Botright / wait_for_request

Function wait_for_request

tests/playwright_tests/test_page.py:91–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89 page = await browser.new_page()
90
91 async def wait_for_request():
92 with pytest.raises(Error) as exc_info:
93 async with page.expect_request(server.EMPTY_PAGE):
94 pass
95 return exc_info.value
96
97 async def wait_for_response():
98 with pytest.raises(Error) as exc_info:

Calls 1

expect_requestMethod · 0.80

Tested by

no test coverage detected