Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, or extract information from web pages.
View on GitHubJanuary 25, 2026
Select agents to install to:
npx add-skill https://github.com/browser-use/browser-use/blob/527fc93a035debf0a04cb61bceddf9a127c5bfa4/skills/browser-use/SKILL.md -a claude-code --skill browser-useInstallation paths:
.claude/skills/browser-use/# Browser Automation with browser-use CLI The `browser-use` command provides fast, persistent browser automation. It maintains browser sessions across commands, enabling complex multi-step workflows. ## Quick Start ```bash browser-use open https://example.com # Navigate to URL browser-use state # Get page elements with indices browser-use click 5 # Click element by index browser-use type "Hello World" # Type text browser-use screenshot # Take screenshot browser-use close # Close browser ``` ## Core Workflow 1. **Navigate**: `browser-use open <url>` - Opens URL (starts browser if needed) 2. **Inspect**: `browser-use state` - Returns clickable elements with indices 3. **Interact**: Use indices from state to interact (`browser-use click 5`, `browser-use input 3 "text"`) 4. **Verify**: `browser-use state` or `browser-use screenshot` to confirm actions 5. **Repeat**: Browser stays open between commands ## Browser Modes ```bash browser-use --browser chromium open <url> # Default: headless Chromium browser-use --browser chromium --headed open <url> # Visible Chromium window browser-use --browser real open <url> # User's Chrome with login sessions browser-use --browser remote open <url> # Cloud browser (requires API key) ``` - **chromium**: Fast, isolated, headless by default - **real**: Uses your Chrome with cookies, extensions, logged-in sessions - **remote**: Cloud-hosted browser with proxy support (requires BROWSER_USE_API_KEY) ## Commands ### Navigation ```bash browser-use open <url> # Navigate to URL browser-use back # Go back in history browser-use scroll down # Scroll down browser-use scroll up # Scroll up ``` ### Page State ```bash browser-use state # Get URL, title, and clickable elements browse