Skip to content

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

Update agent-settings sample code

Takuto Yuki6911d488286f
diff --git a/docs/customize/agent-settings.mdx b/docs/customize/agent-settings.mdx
index 7faeb9ff3..ef65dc563 100644
--- a/docs/customize/agent-settings.mdx
+++ b/docs/customize/agent-settings.mdx
@@ -65,7 +65,7 @@ You can configure how the agent interacts with the browser. To see more `Browser
```python
from browser_use import Agent, Browser
-from playwright.async_api import BrowserContext
+from browser_use.browser.context import BrowserContext
# Reuse existing browser
browser = Browser()