MCPcopy Create free account
hub / github.com/microsoft/fara / sleep

Method sleep

src/fara/browser/playwright_controller.py:288–289  ·  view source on GitHub ↗
(self, page: Page, duration: Union[int, float])

Source from the content-addressed store, hash-verified

286 self.last_cursor_position: Tuple[float, float] = (0.0, 0.0)
287
288 async def sleep(self, page: Page, duration: Union[int, float]) -> None:
289 await asyncio.sleep(duration)
290
291 @handle_target_closed()
292 async def on_new_page(self, page: Page) -> None:

Callers 15

on_new_pageMethod · 0.95
createMethod · 0.80
auto_eval_by_gpt4vFunction · 0.80
flushMethod · 0.80
execute_actionMethod · 0.80
wrapperFunction · 0.80
click_coordsMethod · 0.80
hover_coordsMethod · 0.80
fill_coordsMethod · 0.80
_init_browser_baseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected