Skip to content

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

Update Action name in prompt

Takuto Yuki6cbd8bad7d35
diff --git a/browser_use/agent/prompts.py b/browser_use/agent/prompts.py
index dc65333da..4745ff73e 100644
--- a/browser_use/agent/prompts.py
+++ b/browser_use/agent/prompts.py
@@ -45,9 +45,9 @@ class SystemPrompt:
{"click_element": {"index": 3}}
]
- Navigation and extraction: [
- {"open_new_tab": {}},
+ {"open_tab": {}},
{"go_to_url": {"url": "https://example.com"}},
- {"extract_page_content": {}}
+ {"extract_content": ""}
]
@@ -96,7 +96,7 @@ class SystemPrompt:
- If you get stuck,
10. Extraction:
-- If your task is to find information or do research - call extract_page_content on the specific pages to get and store the information.
+- If your task is to find information or do research - call extract_content on the specific pages to get and store the information.
"""
text += f' - use maximum {self.max_actions_per_step} actions per sequence'