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

Function load

tests/playwright_tests/test_page.py:544–546  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

542 loaded = []
543
544 async def load():
545 await page.set_content(f'<img src="{server.PREFIX}/img.png"></img>')
546 loaded.append(True)
547
548 content_promise = asyncio.create_task(load())
549 await asyncio.sleep(0) # execute scheduled tasks, but don't await them

Calls

no outgoing calls

Tested by

no test coverage detected