Skip to content

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

Changes made by Agent

Cursor Agent93dc7a378d1a
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.py
index 7088c752a..1a861949d 100644
--- a/browser_use/tools/service.py
+++ b/browser_use/tools/service.py
@@ -280,7 +280,7 @@ class Tools(Generic[Context]):
return ActionResult(
extracted_content=memory,
- metadata={'click_x': params.coordinate_x, 'click_y': params.coordinate_y},
+ metadata={'click_x': actual_x, 'click_y': actual_y},
)
except Exception as e:
error_msg = f'Failed to click at coordinates ({params.coordinate_x}, {params.coordinate_y}).'