(self, name: str, callback: Callable[..., None])
| 267 | return self._origin_expect_console_message(predicate=predicate, timeout=timeout) |
| 268 | |
| 269 | async def expose_function(self, name: str, callback: Callable[..., None]) -> None: |
| 270 | if self.use_undetected_playwright: |
| 271 | from botright.extended_typing import NotSupportedError |
| 272 | |
| 273 | raise NotSupportedError("BrowserContext.expose_function is currently unsupported, due to CDP Runtime Patches.") |
| 274 | |
| 275 | return await self._origin_expose_function(name=name, callback=callback) |
| 276 | |
| 277 | async def expose_binding(self, name: str, callback: Callable[..., None], handle: Optional[bool] = None): |
| 278 | if self.use_undetected_playwright: |
nothing calls this directly
no test coverage detected