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

Function test_inner_html

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

Source from the content-addressed store, hash-verified

534
535@pytest.mark.asyncio
536async def test_inner_html(page, server):
537 await page.goto(server.PREFIX + "/dom.html")
538 handle = await page.query_selector("#outer")
539 assert await handle.inner_html() == '<div id="inner">Text,\nmore text</div>'
540 assert await page.inner_html("#outer") == '<div id="inner">Text,\nmore text</div>'
541
542
543@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

query_selectorMethod · 0.45

Tested by

no test coverage detected