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
explain keep_alive default setting in docs
Nick Sweeting37946de81090
diff --git a/docs/customize/browser-settings.mdx b/docs/customize/browser-settings.mdxindex 0b1b2e686..ba4c73d8b 100644--- a/docs/customize/browser-settings.mdx+++ b/docs/customize/browser-settings.mdx@@ -184,7 +184,7 @@ These parameters control browser-use specific features, and are outside the stankeep_alive: bool | None = None```-Keeps the browser alive after the agent has finished running. Useful for running multiple tasks with the same browser instance.+Keeps the browser alive after the agent has finished running. Useful for running multiple tasks with the same browser instance. If this is left as `None` and the Agent launched its own browser, the default is to close the browser after the agent completes. If the agent connected to an existing browser then it will leave it open.#### `allowed_domains`@@ -198,7 +198,7 @@ Example: `['google.com', '*.wikipedia.org']` - Here the agent will only be ableGlob patterns are supported:- `['example.com']` ✅ will match only `https://example.com/*` exactly, subdomains will not be allowed.It's always the most secure to list all the domains you want to give the access to explicitly w/ schemes e.g.- `['*://google.com', 'http*://www.google.com', 'https://myaccount.google.com', 'https://mail.google.com', 'https://docs.google.com']`+ `['https://google.com', 'http*://www.google.com', 'https://myaccount.google.com', 'https://mail.google.com', 'https://docs.google.com']`- `['*.example.com']` ⚠️ **CAUTION** this will match `https://example.com` and *all* its subdomains.Make sure *all* the subdomains are safe for the agent! `abc.example.com`, `def.example.com`, ..., `useruploads.example.com`, `admin.example.com`