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
Changes made by Agent
Cursor Agent73c6c7d76b49
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.pyindex 5712b2bd3..7088c752a 100644--- a/browser_use/tools/service.py+++ b/browser_use/tools/service.py@@ -274,13 +274,13 @@ class Tools(Generic[Context]):mouse = await page.mouseawait mouse.click(actual_x, actual_y)- memory = f'Clicked on coordinate {actual_x}, {actual_y}'+ memory = f'Clicked on coordinate {params.coordinate_x}, {params.coordinate_y}'msg = f'🖱️ {memory}'logger.info(msg)return ActionResult(extracted_content=memory,- metadata={'click_x': actual_x, 'click_y': actual_y},+ metadata={'click_x': params.coordinate_x, 'click_y': params.coordinate_y},)except Exception as e:error_msg = f'Failed to click at coordinates ({params.coordinate_x}, {params.coordinate_y}).'