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

Function test_fill_input

tests/async/test_element_handle.py:502–507  ·  view source on GitHub ↗
(page: Page, server: Server)

Source from the content-addressed store, hash-verified

500
501
502async def test_fill_input(page: Page, server: Server) -> None:
503 await page.goto(server.PREFIX + "/input/textarea.html")
504 handle = await page.query_selector("input")
505 assert handle
506 await handle.fill("some value")
507 assert await page.evaluate("result") == "some value"
508
509
510async def test_fill_input_when_Node_is_removed(page: Page, server: Server) -> None:

Callers

nothing calls this directly

Calls 4

gotoMethod · 0.45
query_selectorMethod · 0.45
fillMethod · 0.45
evaluateMethod · 0.45

Tested by

no test coverage detected