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 system prompt example
magmueller7286f0daa42c
diff --git a/examples/custom_system_prompt.py b/examples/custom_system_prompt.pyindex e64a5beec..715dc6d51 100644--- a/examples/custom_system_prompt.py+++ b/examples/custom_system_prompt.py@@ -14,14 +14,10 @@ from browser_use import Agent, SystemPromptclass MySystemPrompt(SystemPrompt):def important_rules(self) -> str:existing_rules = super().important_rules()- new_rules = 'ALWAYS go first to url wikipedia.com no matter the task'+ new_rules = 'REMEBER the most importnat RULE: ALWAYS open first a new tab and go first to url wikipedia.com no matter the task!!!'return f'{existing_rules}\n{new_rules}'# other methods can be overriden as well (not recommended)- # example_response -> str- # input_format -> str- # response_format -> str- # get_system_message -> SystemMessageasync def main():