Skip to content

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

Update prompt

magmuellere8f4cc3d8c91
diff --git a/browser_use/agent/prompts.py b/browser_use/agent/prompts.py
index c8293d81e..126707f80 100644
--- a/browser_use/agent/prompts.py
+++ b/browser_use/agent/prompts.py
@@ -29,15 +29,15 @@ class SystemPrompt:
},
"action": [
{
- "action_name": {
- // action-specific parameters
+ "one_action_name": {
+ // action-specific parameter
}
},
// ... more actions in sequence
]
}
-2. ACTIONS: You can specify multiple actions to be executed in sequence.
+2. ACTIONS: You can specify multiple actions in the list to be executed in sequence. But always specify only one action name per item.
Common action sequences:
- Form filling: [