发布

  • Browser Use CLI (+ skill) (#3911)

    frostbyte_neo 发布于 2026-01-22 08:01:16 +00:00

    Summary by cubic

    Adds a fast, persistent CLI for browser automation with a background
    session server. Enables quick, multi-step workflows with commands for
    navigation, interaction, tabs, screenshots, JavaScript, Python, and
    agent tasks.

    • New Features

    • New "browser-use" CLI (aliases: bu, browser) with a session server
      over Unix sockets/TCP for low-latency commands.

    • Commands: open, state (LLM-style output), click, type, input, scroll,
      back, screenshot, switch, close-tab, keys, select, eval, extract;
      sessions, close (--all), and server status/stop/logs; JSON output
      supported.

    • Python execution with a persistent namespace and a browser helper
      (goto, click, type, scroll, screenshot, html).

    • Agent task runner (requires API key) with interactive API key prompt
      and config storage.

    • Browser modes: chromium (headed/headless), real Chrome with profiles,
      and remote cloud; added CLI docs and Claude Code SKILL.md.

    • Migration

    • CLI entry points updated: use browser-use as the main command; legacy
      TUI is now browser-use-tui.

    • For remote mode and agent tasks, set BROWSER_USE_API_KEY or add
      {"api_key": "..."} to ~/.config/browser-use/config.json.

    Written for commit b6bdc17bcb.
    Summary will update on new commits.

    下载附件