Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Merge branch 'main' into websocket-connection-issues
Saurav Panda08bf06f734f8
diff --cc browser_use/browser/session.pyindex d12e246d4,43cbd7fd2..79b33eb18--- a/browser_use/browser/session.py+++ b/browser_use/browser/session.py@@@ -461,11 -462,16 +465,21 @@@ class BrowserSession(BaseModel)except Exception:return False+ async def wait_if_captcha_solving(self, timeout: float | None = None) -> 'CaptchaWaitResult | None':+ """Wait if a captcha is currently being solved by the browser proxy.++ Returns:+ A CaptchaWaitResult if we had to wait, or None if no captcha was in progress.+ """+ if self._captcha_watchdog is not None:+ return await self._captcha_watchdog.wait_if_captcha_solving(timeout=timeout)+ return None++ @property+ def is_reconnecting(self) -> bool:+ """Whether a WebSocket reconnection attempt is currently in progress."""+ return self._reconnecting+@propertydef cloud_browser(self) -> bool:"""Whether to use cloud browser service from browser profile."""