mirror of
https://github.com/browser-use/browser-use
synced 2026-04-22 17:45:09 +02:00
The `run` command pulled in heavy SDK dependencies (openai, anthropic, google), had a bug (await on sync get_llm), and is superseded by `browser-use cloud` for agent execution. CLI is now purely a browser automation interface. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
621 B
Python
24 lines
621 B
Python
"""Browser-use CLI package.
|
|
|
|
This package provides a fast command-line interface for browser automation.
|
|
The CLI uses a daemon architecture for persistent browser sessions.
|
|
|
|
Usage:
|
|
browser-use open https://example.com
|
|
browser-use click 5
|
|
browser-use type "Hello World"
|
|
browser-use python "print(browser.url)"
|
|
browser-use close
|
|
"""
|
|
|
|
__all__ = ['main']
|
|
|
|
|
|
def __getattr__(name: str):
|
|
"""Lazy import to avoid runpy warnings when running as module."""
|
|
if name == 'main':
|
|
from browser_use.skill_cli.main import main
|
|
|
|
return main
|
|
raise AttributeError(f'module {__name__!r} has no attribute {name!r}')
|