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

Function test_evaluate_handle

tests/playwright_tests/test_frames.py:8–13  ·  view source on GitHub ↗
(page, server)

Source from the content-addressed store, hash-verified

6
7@pytest.mark.asyncio
8async def test_evaluate_handle(page, server):
9 await page.goto(server.EMPTY_PAGE)
10 main_frame = page.main_frame
11 assert main_frame.page == page
12 window_handle = await main_frame.evaluate_handle("window")
13 assert window_handle
14
15
16@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

evaluate_handleMethod · 0.45

Tested by

no test coverage detected