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

Method wait_for_function

botright/playwright_mock/frame.py:135–140  ·  view source on GitHub ↗
(self, expression: str, arg: Optional[Any] = None, polling: Optional[Union[float, Literal["raf"]]] = "raf", timeout: Optional[float] = None)

Source from the content-addressed store, hash-verified

133 return js_handle
134
135 async def wait_for_function(self, expression: str, arg: Optional[Any] = None, polling: Optional[Union[float, Literal["raf"]]] = "raf", timeout: Optional[float] = None) -> JSHandle:
136 from . import JSHandle
137
138 _js_handle = await self._origin_wait_for_function(expression, arg=arg, polling=polling, timeout=timeout)
139 js_handle = JSHandle(_js_handle, self._page)
140 return js_handle
141
142 # FrameLocator
143 def frame_locator(self, selector: str) -> FrameLocator:

Callers

nothing calls this directly

Calls 1

JSHandleClass · 0.85

Tested by

no test coverage detected