(page: Page)
| 1123 | |
| 1124 | |
| 1125 | async def test_locator_all_should_work(page: Page) -> None: |
| 1126 | await page.set_content("<div><p>A</p><p>B</p><p>C</p></div>") |
| 1127 | texts = [] |
| 1128 | for p in await page.locator("p").all(): |
| 1129 | texts.append(await p.text_content()) |
| 1130 | assert texts == ["A", "B", "C"] |
| 1131 | |
| 1132 | |
| 1133 | async def test_locator_click_timeout_error_should_contain_call_log(page: Page) -> None: |
nothing calls this directly
no test coverage detected