π¦ ClawHub
Agent Browser Skill
by @baiyunrei2025
Automate web browsing with navigation, form filling, clicking, screenshots, data extraction, and testing using Chrome via OpenClaw browser tool.
TERMINAL
clawhub install agent-browser-skillπ About This Skill
Agent Browser Skill
Description
Enhanced browser automation for OpenClaw agents with advanced navigation, screenshot, and interaction capabilities.When to Use
Use this skill when:Prerequisites
Examples
Basic Navigation
# Navigate to a website
openclaw browser open --url "https://example.com"Take a screenshot
openclaw browser snapshot --url "https://example.com" --output screenshot.png
Form Interaction
# Fill a form
openclaw browser act --url "https://forms.example.com" --kind fill --fields '{"name": "John", "email": "john@example.com"}'Click a button
openclaw browser act --url "https://example.com" --kind click --selector "button.submit"
Data Extraction
# Extract page content
openclaw browser snapshot --url "https://news.example.com" --maxChars 5000Monitor page changes
openclaw browser act --url "https://status.example.com" --kind wait --textGone "Loading..."
Integration with OpenClaw
This skill enhances the native OpenClaw browser tool with: 1. Simplified commands - Easier syntax for common tasks 2. Error handling - Better recovery from failures 3. Performance optimization - Faster page loads and interactions 4. Accessibility support - Better element detection
Safety Notes
Troubleshooting
Common Issues
1. Browser not starting: Check if Chrome is installed 2. Element not found: Try different selectors or wait for page load 3. Timeout errors: Increase timeout values for slow pages 4. Permission denied: Ensure OpenClaw has necessary permissionsDebug Tips
# Enable verbose logging
openclaw browser open --url "https://example.com" --verboseCheck browser status
openclaw browser status
References
β‘ When to Use
π‘ Examples
Basic Navigation
# Navigate to a website
openclaw browser open --url "https://example.com"Take a screenshot
openclaw browser snapshot --url "https://example.com" --output screenshot.png
Form Interaction
# Fill a form
openclaw browser act --url "https://forms.example.com" --kind fill --fields '{"name": "John", "email": "john@example.com"}'Click a button
openclaw browser act --url "https://example.com" --kind click --selector "button.submit"
Data Extraction
# Extract page content
openclaw browser snapshot --url "https://news.example.com" --maxChars 5000Monitor page changes
openclaw browser act --url "https://status.example.com" --kind wait --textGone "Loading..."
βοΈ Configuration
π Tips & Best Practices
Common Issues
1. Browser not starting: Check if Chrome is installed 2. Element not found: Try different selectors or wait for page load 3. Timeout errors: Increase timeout values for slow pages 4. Permission denied: Ensure OpenClaw has necessary permissionsDebug Tips
# Enable verbose logging
openclaw browser open --url "https://example.com" --verboseCheck browser status
openclaw browser status