What problem does it solve?
This skill enables automated control of a user's Chrome browser by connecting to it via the Chrome DevTools Protocol (CDP) and providing real-time visual feedback of automation actions.
Core Features & Use Cases
- Connect to an existing Chrome instance via CDP and drive it programmatically
- Preserve login state with a persistent automation profile across sessions
- Automatic dependency installation and setup for a seamless onboarding
- Reproducible browser automation workflows such as navigation, element interaction, form filling, and data collection
- Use case: automate repetitive browser tasks for testing, data gathering, and routine workflows with live visual feedback
Quick Start
First-time setup is automatic: run the auto-install script for your platform; then start Chrome with a persistent profile; finally verify the connection by running a basic command.
For Mac: bash $HOME/Downloads/chrome-automation/scripts/auto-install-mac.sh
For Windows: powershell -ExecutionPolicy Bypass -File "$HOME\Downloads\chrome-automation\scripts\auto-install-windows.ps1"
Start Chrome with persistent profile:
Mac: bash $HOME/Downloads/chrome-automation/scripts/start-chrome-mac.sh
Windows: powershell -ExecutionPolicy Bypass -File "$HOME\Downloads/chrome-automation\scripts/start-chrome-windows.ps1"
Test the connection:
cd $HOME/Documents/agent-browser
AGENT_BROWSER_HOME=$HOME/Documents/agent-browser ./bin/agent-browser --cdp 9222 get url