(locator: Locator)
| 1305 | ) |
| 1306 | |
| 1307 | async def texts(locator: Locator) -> list: |
| 1308 | return await locator.evaluate_all("els => els.map(e => e.textContent)") |
| 1309 | |
| 1310 | # description substring match (default) |
| 1311 | assert await texts(page.get_by_role("alert", description="doc-2025")) == ["Alert 1"] |
no test coverage detected