Skip to content

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

Simplify Browser init to single commented use_cloud option

Cursor Agentdb44fba80e15
diff --git a/README.md b/README.md
index ca1499db1..5758bf733 100644
--- a/README.md
+++ b/README.md
@@ -71,9 +71,9 @@ from browser_use import Agent, Browser, ChatBrowserUse
import asyncio
async def main():
- browser = Browser()
- # browser = Browser(headless=True) # Run headless (no visible window)
- # browser = Browser(use_cloud=True) # Use a stealth browser on Browser Use Cloud
+ browser = Browser(
+ # use_cloud=True, # Use a stealth browser on Browser Use Cloud
+ )
agent = Agent(
task="Find the number of stars of the browser-use repo",