Execute the provided hooks with the given arguments.
(self, hooks: list[Callable[..., Awaitable[None]]], *args: Any)
| 393 | self._inactive_browsers.remove(browser) |
| 394 | |
| 395 | async def _execute_hooks(self, hooks: list[Callable[..., Awaitable[None]]], *args: Any) -> None: |
| 396 | """Execute the provided hooks with the given arguments.""" |
| 397 | for hook in hooks: |
| 398 | await hook(*args) |
| 399 | |
| 400 | def _override_page_close(self, crawlee_page: CrawleePage, browser_controller: BrowserController) -> None: |
| 401 | """Override the page's close method to execute pre and post close hooks.""" |
no test coverage detected