MCPcopy Index your code
hub / github.com/microsoft/playwright-python / test_input_value

Function test_input_value

tests/sync/test_page.py:21–28  ·  view source on GitHub ↗
(page: Page, server: Server)

Source from the content-addressed store, hash-verified

19
20
21def test_input_value(page: Page, server: Server) -> None:
22 page.goto(server.PREFIX + "/input/textarea.html")
23
24 page.fill("input", "my-text-content")
25 assert page.input_value("input") == "my-text-content"
26
27 page.fill("input", "")
28 assert page.input_value("input") == ""
29
30
31def test_drag_and_drop_helper_method(page: Page, server: Server) -> None:

Callers

nothing calls this directly

Calls 3

gotoMethod · 0.45
fillMethod · 0.45
input_valueMethod · 0.45

Tested by

no test coverage detected