Skip to content

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

be more explicit in docs

Nick Sweeting402384358fb7
diff --git a/docs/customize/browser-settings.mdx b/docs/customize/browser-settings.mdx
index 905fb41d4..bcf3127da 100644
--- a/docs/customize/browser-settings.mdx
+++ b/docs/customize/browser-settings.mdx
@@ -174,7 +174,7 @@ async def run_search():
- **allowed_domains** (default: `None`)
List of allowed domains that the agent can access. If None, all domains are allowed.
- Example: ['google.com', '*.wikipedia.org'] - Here the agent will only be able to access google and wikipedia.
+ Example: ['google.com', '*.wikipedia.org'] - Here the agent will only be able to access `google.com` exactly and `wikipedia.org` + `*.wikipedia.org`.
Glob patterns are supported:
- `['example.com']` ✅ will match only `example.com` exactly, subdomains will not be allowed.
@@ -182,8 +182,8 @@ async def run_search():
`['google.com', 'www.google.com', 'myaccount.google.com', 'mail.google.com', 'docs.google.com']`
- `['*.example.com']` ⚠️ **CAUTION** this will match `example.com` and *all* subdomains.
Make sure *all* the subdomains are safe for the agent! `abc.example.com`, `def.example.com`, ..., `useruploads.example.com`, `admin.example.com`
- - `['*google.com']` ❌ **DON'T DO THIS**, it will match `google.com`, `mail.google.com`, `docs.google.com`, etc. *but also `evilgoogle.com`*
- - `['*.google.*]` ❌ **DON'T DO THIS**, it will match `google.com`, `google.co.uk`, `google.fr`, etc. *but also `www.google.evil.com`*
+ - `['*google.com']` ❌ **DON'T DO THIS**, it will match any domains that end in `google.com`, *including `evilgoogle.com`*
+ - `['*.google.*']` ❌ **DON'T DO THIS**, it will match `google.com`, `google.co.uk`, `google.fr`, etc. *but also `www.google.evil.com`*
### Session Management