Skip to content

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

fix(cli): use --mode instead of --profile for setup command handler

ShawnPana2ff264c6a66f
diff --git a/browser_use/skill_cli/main.py b/browser_use/skill_cli/main.py
index 75fb20841..e6b2ebf06 100755
--- a/browser_use/skill_cli/main.py
+++ b/browser_use/skill_cli/main.py
@@ -907,7 +907,7 @@ def main() -> int:
setup.handle(
'setup',
{
- 'profile': args.profile,
+ 'mode': args.mode,
'api_key': args.api_key,
'yes': args.yes,
'json': args.json,
@@ -923,7 +923,7 @@ def main() -> int:
else:
if result.get('status') == 'success':
print('\n✓ Setup complete!')
- print(f'\nProfile: {result["profile"]}')
+ print(f'\nMode: {result["mode"]}')
print('Next: browser-use open https://example.com')
return 0