(page: Page)
| 180 | |
| 181 | |
| 182 | async def test_locators_all_inner_texts(page: Page) -> None: |
| 183 | await page.set_content( |
| 184 | """ |
| 185 | <div>A</div><div>B</div><div>C</div> |
| 186 | """ |
| 187 | ) |
| 188 | |
| 189 | element = page.locator("div") |
| 190 | assert await element.all_inner_texts() == ["A", "B", "C"] |
| 191 | |
| 192 | |
| 193 | async def test_locators_should_query_existing_element( |
nothing calls this directly
no test coverage detected