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

Function test_hover

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

Source from the content-addressed store, hash-verified

334
335@pytest.mark.asyncio
336async def test_hover(page, server):
337 await page.goto(server.PREFIX + "/input/scrollable.html")
338 button = await page.query_selector("#button-6")
339 await button.hover()
340 assert await page.evaluate('document.querySelector("button:hover").id') == "button-6"
341
342
343@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

query_selectorMethod · 0.45
hoverMethod · 0.45

Tested by

no test coverage detected