For production, use a dedicated user data directory:
from openbrowser import Agent, Browser, ChatGoogleimport tempfile# Create persistent browser with custom user databrowser = Browser( user_data_dir='./browser_data', # Persists between runs headless=False, # Set True for production)agent = Agent( task="Login to example.com and check notifications", browser=browser, llm=ChatGoogle())await agent.run()