Skip to content

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

Include index desc for click

Magnus Müllercc89c37669e9
diff --git a/browser_use/tools/views.py b/browser_use/tools/views.py
index 008c8f5f0..a67e21e26 100644
--- a/browser_use/tools/views.py
+++ b/browser_use/tools/views.py
@@ -35,7 +35,7 @@ GoToUrlAction = NavigateAction
class ClickElementAction(BaseModel):
- index: int = Field(ge=1, description='from browser_state')
+ index: int = Field(ge=1, description='from browser_state. All interactive elements work except <select> or file inputs.')
# expect_download: bool = Field(default=False, description='set True if expecting a download, False otherwise') # moved to downloads_watchdog.py
# click_count: int = 1 # TODO