Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Update browser_use/utils.py

Nick Sweetingd2f6dc71a308
diff --git a/browser_use/utils.py b/browser_use/utils.py
index 75b54ac06..6d01dc9f3 100644
--- a/browser_use/utils.py
+++ b/browser_use/utils.py
@@ -483,7 +483,7 @@ def merge_dicts(a: dict, b: dict, path: tuple[str, ...] = ()):
for key in b:
if key in a:
if isinstance(a[key], dict) and isinstance(b[key], dict):
- merge_dicts(a[key], b[key], path + [str(key)])
+ merge_dicts(a[key], b[key], path + (str(key),))
elif isinstance(a[key], list) and isinstance(b[key], list):
a[key] = a[key] + b[key]
elif a[key] != b[key]: