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

Function test_click

tests/playwright_tests/test_element_handle.py:246–250  ·  view source on GitHub ↗
(page, server)

Source from the content-addressed store, hash-verified

244
245@pytest.mark.asyncio
246async def test_click(page, server):
247 await page.goto(server.PREFIX + "/input/button.html")
248 button = await page.query_selector("button")
249 await button.click()
250 assert await page.evaluate("result") == "Clicked"
251
252
253@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

query_selectorMethod · 0.45
clickMethod · 0.45

Tested by

no test coverage detected