Skip to content

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

use better example names in browser-settings docs

Nick Sweeting2aa576ee0911
diff --git a/docs/customize/browser-settings.mdx b/docs/customize/browser-settings.mdx
index 71e0c1b80..9955a4548 100644
--- a/docs/customize/browser-settings.mdx
+++ b/docs/customize/browser-settings.mdx
@@ -172,17 +172,19 @@ It allows you do do things like start multiple browser processes with *some* sha
```python
from browser_use.browser import BrowserProfile
-browser_profile = BrowserProfile(
- headless=False,
- allowed_domains=['https://*.google.com', 'https://*.example.com'],
+base_config = BrowserProfile(
storage_state='/tmp/auth.json',
+ allowed_domains=['https://*.google.com', 'https://*.example.com'],
+ headless=True,
+ viewport={'width': 920, 'height': 674},
+ device_scale_factor=1,
# ... playwright args / browser-use config args ...
)
-# start 3 separate browser instances with the same default config options + a session-specific arg:
-browser1 = BrowserSession(browser_profile=browser_profile, user_data_dir='/tmp/profile1')
-browser2 = BrowserSession(browser_profile=browser_profile, user_data_dir='/tmp/profile2')
-browser3 = BrowserSession(browser_profile=browser_profile, user_data_dir='/tmp/profile2')
+# start 3 browser instances with common config + session-specific override:
+low_res = BrowserSession(browser_profile=base_config, device_scale_factor=1)
+hi_res = BrowserSession(browser_profile=base_config, device_scale_factor=2)
+retina = BrowserSession(browser_profile=base_config, device_scale_factor=3)
```
### Browser-Use Parameters