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

Function test_should_handle_nested_frames

tests/playwright_tests/test_frames.py:80–88  ·  view source on GitHub ↗
(page, utils, server)

Source from the content-addressed store, hash-verified

78
79@pytest.mark.asyncio
80async def test_should_handle_nested_frames(page, utils, server):
81 await page.goto(server.PREFIX + "/frames/nested-frames.html")
82 assert utils.dump_frames(page.main_frame) == [
83 "http://localhost:<PORT>/frames/nested-frames.html",
84 " http://localhost:<PORT>/frames/frame.html (aframe)",
85 " http://localhost:<PORT>/frames/two-frames.html (2frames)",
86 " http://localhost:<PORT>/frames/frame.html (dos)",
87 " http://localhost:<PORT>/frames/frame.html (uno)",
88 ]
89
90
91@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

dump_framesMethod · 0.80

Tested by

no test coverage detected