Recycle the current shared browser.
(self, reason: str = "unknown", rotate_profile: bool = True)
| 1385 | await self._close_browser(playwright, browser, context, browser_pid=browser_pid) |
| 1386 | |
| 1387 | async def recycle_browser(self, reason: str = "unknown", rotate_profile: bool = True): |
| 1388 | """Recycle the current shared browser.""" |
| 1389 | async with self._shared_browser_lock: |
| 1390 | await self._recycle_browser_locked(reason=reason, rotate_profile=rotate_profile) |
| 1391 | |
| 1392 | async def _get_or_create_shared_browser( |
| 1393 | self, |
no test coverage detected