Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
minor docs tweaks
Nick Sweeting4eabeb30b2b0
diff --git a/docs/customize/browser-settings.mdx b/docs/customize/browser-settings.mdxindex 5615b34c6..c083e72f2 100644--- a/docs/customize/browser-settings.mdx+++ b/docs/customize/browser-settings.mdx@@ -350,6 +350,8 @@ channel: BrowserChannel = 'chromium'Browser channel: `'chromium'`, `'chrome'`, `'chrome-beta'`, `'chrome-dev'`, `'chrome-canary'`, `'msedge'`, `'msedge-beta'`, `'msedge-dev'`, `'msedge-canary'`+Don't worry, other chromium-based browsers not in this list (e.g. `brave`) are still supported if you provide your own [`executable_path`](#executable_path).+#### `executable_path````python@@ -549,18 +551,21 @@ Viewport size with `width` and `height`. Example: `{"width": 1280, "height": 720#### `no_viewport````python-no_viewport: bool | None = None+no_viewport: bool | None = not headless```Disable fixed viewport. Content will resize with window.+*Tip:* don't use this parameter, it's a playwright standard parameter but it's redundant and only serves to override the `viewport` setting above.+A viewport is *always* used in headless mode regardless of this setting, and is *never* used in headful mode unless you pass `viewport={width, height}` explicitly.+#### `device_scale_factor````pythondevice_scale_factor: float | None = None```-Device scale factor (DPI). Useful for high-resolution screenshots.+Device scale factor (DPI). Useful for high-resolution screenshots (set it to 2).#### `screen`@@ -802,6 +807,19 @@ handle_sigterm: bool = FalseWhether playwright should swallow SIGTERM signals and kill the browser.+#### `**playwright.devices['iPhone 13']`++```python+BrowserProfile(+ ...+ **playwright.devices['iPhone 13'], # playwright = await async_playwright().start()+)+```++Playwright provides launch & context args to [emulate common device fingerprints](https://playwright.dev/python/docs/emulation).+`BrowserSession` and `BrowserProfile` take all the standard playwright args so we are able to support these as well.++---