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
fixed num clicks type error
Gregor Žunič57490c06f344
diff --git a/browser_use/controller/service.py b/browser_use/controller/service.pyindex 1bfd0d0a3..5072e8471 100644--- a/browser_use/controller/service.py+++ b/browser_use/controller/service.py@@ -71,7 +71,7 @@ class Controller:for _ in range(params.num_clicks):try:- await browser._click_element_by_xpath(xpath, click_count=params.num_clicks)+ await browser._click_element_by_xpath(xpath)msg = f'🖱️ Clicked element {params.index}: {xpath}'if params.num_clicks > 1:msg += f' ({_ + 1}/{params.num_clicks} clicks)'