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