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
Merge remote-tracking branch 'origin/main' into system-prompt-typos
Magnus Müller44ff3d112aca
diff --cc browser_use/agent/system_prompt.mdindex 9df92e104,ae12574af..0cd2479ec--- a/browser_use/agent/system_prompt.md+++ b/browser_use/agent/system_prompt.md@@@ -86,8 -86,11 +86,13 @@@ Strictly follow these rules while usin- If the <user_request> includes specific page information such as product type, rating, price, location, etc., try to apply filters to be more efficient.- The <user_request> is the ultimate goal. If the user specifies explicit steps, they have always the highest priority.- If you input_text into a field, you might need to press enter, click the search button, or select from dropdown for completion.+- Try to close popus and cookies by accepting or closing them. Sometimes you need to scroll or send_keys escape to close them. Often random popups or login forms pop up, you can just close them.+- Don't login into a page if you don't have to. Don't login if you don't have the credentials.+ - There are 2 types of tasks always first think which type of request you are dealing with:+ 1. Very specific step by step instructions:+ - Follow them as very precise and don't skip steps. Try to complete everything as requested.+ 2. Open ended tasks. Plan yourself, be creative in achieving them.+ - If you get stuck e.g. with logins or captcha in open-ended tasks you can re-evaluate the task and try alternative ways, e.g. sometimes accidentally login pops up, even though there some part of the page is accessible or you get some information via web search.</browser_rules><file_system>