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
docs: clarify remote uploads and verify enabled actions
Gregor Žuniča25564be15ce
diff --git a/examples/integrations/anthropic/README.md b/examples/integrations/anthropic/README.mdindex 00cc475a2..30bb7e795 100644--- a/examples/integrations/anthropic/README.md+++ b/examples/integrations/anthropic/README.md@@ -170,7 +170,7 @@ SDK host respectively.## Browser Use Cloud-Set `BROWSER_USE_API_KEY`, then add `use_cloud=True` to the existing `BrowserUse(...)` call. Keep its `configs`, `confirm`, and `file_policy` arguments to preserve the quickstart tool selection and approvals.+Set `BROWSER_USE_API_KEY`, then add `use_cloud=True` to the existing `BrowserUse(...)` call. Keep its `configs` and `confirm` arguments to preserve the quickstart tool selection and approvals. For remote uploads, replace the local `file_policy` with the staged-document policy and resolver in [Files with remote browsers](#files-with-remote-browsers).Create a key at[cloud.browser-use.com/new-api-key](https://cloud.browser-use.com/new-api-key).diff --git a/tests/ci/integrations/test_anthropic_browser_use.py b/tests/ci/integrations/test_anthropic_browser_use.pyindex 15a66c0ce..f5314e8e7 100644--- a/tests/ci/integrations/test_anthropic_browser_use.py+++ b/tests/ci/integrations/test_anthropic_browser_use.py@@ -254,7 +254,16 @@ def test_quickstart_uses_peer_browser_use_and_bash_tools() -> None:source = QUICKSTART_PATH.read_text()tree = ast.parse(source)assert tree is not None- assert 'driver = BrowserUse(' in source+ driver = next(+ node+ for node in ast.walk(tree)+ if isinstance(node, ast.Call) and isinstance(node.func, ast.Name) and node.func.id == 'BrowserUse'+ )+ configs = ast.literal_eval(next(option.value for option in driver.keywords if option.arg == 'configs'))+ for action in ('javascript_exec', 'file_upload', 'read_console', 'read_network'):+ assert configs[action]['enabled'] is True+ confirmation = next(option.value for option in driver.keywords if option.arg == 'confirm')+ assert isinstance(confirmation, ast.Name) and confirmation.id == 'confirm'assert "bash = Bash(output_dir=Path('outputs'))" in sourceassert 'tools=[driver, bash]' in sourceassert 'ActorUse' not in source