(page: Page, server: Server)
| 1249 | |
| 1250 | |
| 1251 | async def test_frame_should_respect_url(page: Page, server: Server) -> None: |
| 1252 | await page.set_content(f'<iframe src="{server.EMPTY_PAGE}"></iframe>') |
| 1253 | assert page.frame(url=re.compile(r"bogus")) is None |
| 1254 | assert must(page.frame(url=re.compile(r"empty"))).url == server.EMPTY_PAGE |
| 1255 | |
| 1256 | |
| 1257 | async def test_press_should_work(page: Page, server: Server) -> None: |
nothing calls this directly
no test coverage detected