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 mert/new_everything
mertunsall1864e52635dd
diff --cc browser_use/controller/service.pyindex 09ffcf8a1,936a3cac6..ac03be396--- a/browser_use/controller/service.py+++ b/browser_use/controller/service.py@@@ -222,9 -192,7 +222,7 @@@ class Controller(Generic[Context])msg += f' - {new_tab_msg}'logger.info(new_tab_msg)await browser_session.switch_to_tab(-1)- return ActionResult(- extracted_content=msg, include_in_memory=True, success=False, memory=f'Clicked element {params.index}'- )- return ActionResult(extracted_content=msg, include_in_memory=True)++ return ActionResult(extracted_content=msg, include_in_memory=True, memory=f'Clicked element {params.index}')except Exception as e:error_msg = str(e)if 'Execution context was destroyed' in error_msg or 'Cannot find context with specified id' in error_msg: