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
user profile is managed by plawright instead of flags
Nick Sweetingff14e42b83a8
diff --git a/browser_use/browser/chrome.py b/browser_use/browser/chrome.pyindex 5a952a157..860fbbc66 100644--- a/browser_use/browser/chrome.py+++ b/browser_use/browser/chrome.py@@ -64,8 +64,8 @@ CHROME_DISABLE_SECURITY_ARGS = [CHROME_ARGS = [# Profile data dir setup# chrome://profile-internals- f'--user-data-dir={CHROME_PROFILE_PATH}',- f'--profile-directory={CHROME_PROFILE_USER}',+ # f'--user-data-dir={CHROME_PROFILE_PATH}', # managed by playwright arg instead+ # f'--profile-directory={CHROME_PROFILE_USER}','--password-store=basic', # use mock keychain instead of OS-provided keychain (we manage auth.json instead)'--use-mock-keychain','--disable-cookie-encryption', # we need to be able to write unencrypted cookies to save/load auth.jsondiff --git a/examples/features/custom_output.py b/examples/features/custom_output.pyindex cf76d9dcc..a406d5a63 100644--- a/examples/features/custom_output.py+++ b/examples/features/custom_output.py@@ -16,7 +16,7 @@ from dotenv import load_dotenvfrom langchain_openai import ChatOpenAIfrom pydantic import BaseModel-from browser_use import ActionResult, Agent, Controller+from browser_use import Agent, Controllerload_dotenv()