Skip to content

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

Update agent initialization to suppress type checking warnings

Magnus Müllerc3d2f18742a7
diff --git a/examples/features/secure.py b/examples/features/secure.py
index 8310a0028..0ca5cfc20 100644
--- a/examples/features/secure.py
+++ b/examples/features/secure.py
@@ -73,7 +73,7 @@ sensitive_data = {'company_name': 'browser-use'}
# Create Agent
-agent = Agent(task=task, llm=llm, browser_profile=browser_profile, sensitive_data=sensitive_data)
+agent = Agent(task=task, llm=llm, browser_profile=browser_profile, sensitive_data=sensitive_data) # type: ignore
async def main():