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
removed input from close function
Gregor Žunič89361ad05ed7
diff --git a/browser_use/browser/service.py b/browser_use/browser/service.pyindex ee7a0796a..da9d702c8 100644--- a/browser_use/browser/service.py+++ b/browser_use/browser/service.py@@ -188,7 +188,7 @@ class Browser:await session.playwright.stop()else:# Note: input() is blocking - consider an async alternative if needed- input('Press Enter to close Browser...')+ # input('Press Enter to close Browser...')self.keep_open = Falseawait self.close(force=True)