MCPcopy Create free account
hub / github.com/Vinyzu/Botright / test_input_value

Function test_input_value

tests/playwright_tests/test_element_handle.py:677–684  ·  view source on GitHub ↗
(page: Page, server)

Source from the content-addressed store, hash-verified

675
676@pytest.mark.asyncio
677async def test_input_value(page: Page, server):
678 await page.goto(server.PREFIX + "/input/textarea.html")
679 element = await page.query_selector("input")
680 await element.fill("my-text-content")
681 assert await element.input_value() == "my-text-content"
682
683 await element.fill("")
684 assert await element.input_value() == ""
685
686
687@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

query_selectorMethod · 0.45

Tested by

no test coverage detected