(page, server)
| 464 | |
| 465 | @pytest.mark.asyncio |
| 466 | async def test_select_input(page, server): |
| 467 | await page.goto(server.PREFIX + "/input/textarea.html") |
| 468 | input = await page.query_selector("input") |
| 469 | await input.evaluate('input => input.value = "some value"') |
| 470 | await input.select_text() |
| 471 | assert await page.evaluate("() => window.getSelection().toString()") == "some value" |
| 472 | |
| 473 | |
| 474 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected