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
Remove unnecessary JSON import in service.py to streamline code.
Magnus Müller37e76f7f001a
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.pyindex aa9768a74..aa5d37620 100644--- a/browser_use/tools/service.py+++ b/browser_use/tools/service.py@@ -998,8 +998,6 @@ You can also use it to explore the website.result_text = str(value) if 'value' in result_data else 'undefined'elif isinstance(value, (dict, list)):# Complex objects - should be serialized by returnByValue- import json-try:result_text = json.dumps(value, ensure_ascii=False)except (TypeError, ValueError):