(page: Page, server: Server)
| 647 | |
| 648 | |
| 649 | async def test_text_content(page: Page, server: Server) -> None: |
| 650 | await page.goto(f"{server.PREFIX}/dom.html") |
| 651 | handle = await page.query_selector("#inner") |
| 652 | assert handle |
| 653 | assert await handle.text_content() == "Text,\nmore text" |
| 654 | assert await page.text_content("#inner") == "Text,\nmore text" |
| 655 | |
| 656 | |
| 657 | async def test_check_the_box(page: Page) -> None: |
nothing calls this directly
no test coverage detected