Documentation Index
Fetch the complete documentation index at: https://browseruse-0aece648-x402-sdk.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Pass credentials to the agent scoped by domain. The agent uses them only on matching domains.
from browser_use_sdk import AsyncBrowserUse
client = AsyncBrowserUse()
result = await client.run(
"Log into GitHub and star the browser-use/browser-use repo",
secrets={"github.com": "username:password123"},
allowed_domains=["github.com"],
)
Use allowed_domains to restrict the agent to specific domains. Supports wildcards: example.com, *.example.com.
For SSO/OAuth redirects, include all domains in the auth flow:
result = await client.run(
"Log into the company portal and download the Q4 report",
secrets={
"portal.example.com": "user@company.com:password123",
"okta.com": "user@company.com:password123",
},
allowed_domains=["portal.example.com", "*.okta.com"],
)