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
tweak real-browser connection docs intro
Nick Sweetinge410ec53b25c
diff --git a/docs/customize/real-browser.mdx b/docs/customize/real-browser.mdxindex cfcbb42c7..c48b39fc7 100644--- a/docs/customize/real-browser.mdx+++ b/docs/customize/real-browser.mdx@@ -6,9 +6,17 @@ icon: "computer"## Overview-[As of Chrome v136](https://github.com/browser-use/browser-use/issues/1520), driving chrome via CDP is [no longer supported with the default profile](https://developer.chrome.com/blog/remote-debugging-port).-Browser-Use has transitioned to creating a new dedicated profile for agents in: `~/.config/browseruse/profiles/default`.-You can [open this profile](https://superuser.com/questions/377186/how-do-i-start-chrome-using-a-specified-user-profile) and log into everything you need your agent to have access to, and it will persist over time.+Browser Use supports a wide variety of ways to launch or connect to a browser:++- Launch a new local browser using playwright/patchright chromium (the default)+- Connect to a remote browser using CDP or WSS+- Use an existing playwright `Page`, `Browser`, or `BrowserContext` object+- Connect to a local browser already running using `browser_pid`++<Tip>+ Don't want to manage your own browsers? Try [☁️ Browser Use Cloud](https://browser-use.com)!+ We provide residential proxies, automatic CAPTCHA solving, human-in-the-loop automation, and more!+</Tip>## Connection Methods@@ -39,6 +47,10 @@ agent = Agent()```+<Warning>+ [As of Chrome v136](https://github.com/browser-use/browser-use/issues/1520), driving browsers with the default profile is [no longer supported](https://developer.chrome.com/blog/remote-debugging-port) for security reasons. Browser-Use has transitioned to creating a new dedicated profile for agents in: `~/.config/browseruse/profiles/default`. You can [open this profile](https://superuser.com/questions/377186/how-do-i-start-chrome-using-a-specified-user-profile) and log into everything you need your agent to have access to, and it will persist over time.+</Warning>+### Method B: Connect Using Existing Playwright ObjectsPass existing Playwright `Page`, `BrowserContext`, and/or `Browser` objects to `Agent(...)` and/or `BrowserSession(...)`: