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

Function test_sync_make_existing_page_sync

tests/sync/test_sync.py:165–169  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

163
164
165def test_sync_make_existing_page_sync(page: Page) -> None:
166 page = page
167 assert page.evaluate("() => ({'playwright': true})") == {"playwright": True}
168 page.set_content("<h1>myElement</h1>")
169 page.wait_for_selector("text=myElement")
170
171
172def test_sync_network_events(page: Page, server: Server) -> None:

Callers

nothing calls this directly

Calls 3

evaluateMethod · 0.45
set_contentMethod · 0.45
wait_for_selectorMethod · 0.45

Tested by

no test coverage detected