(page: Page, server: Server, utils: Utils)
| 145 | |
| 146 | |
| 147 | def test_content_frame(page: Page, server: Server, utils: Utils) -> None: |
| 148 | page.goto(server.EMPTY_PAGE) |
| 149 | utils.attach_frame(page, "frame1", server.EMPTY_PAGE) |
| 150 | element_handle = page.query_selector("#frame1") |
| 151 | assert element_handle |
| 152 | frame = element_handle.content_frame() |
| 153 | assert frame == page.frames[1] |
| 154 | |
| 155 | |
| 156 | def test_content_frame_for_non_iframes( |
nothing calls this directly
no test coverage detected