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

Function scroll

tests/playwright_tests/test_element_handle.py:390–393  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

388 done = []
389
390 async def scroll():
391 done.append(False)
392 await div.scroll_into_view_if_needed()
393 done.append(True)
394
395 promise = asyncio.create_task(scroll())
396 await asyncio.sleep(0) # execute scheduled tasks, but don't await them

Callers 1

waiting_helperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected