Browser Automation
OpenClaw (formerly Moltbot) can control a web browser to automate tasks. Fill forms, extract data, and interact with any website.
OpenClaw uses Playwright (a headless browser) to interact with websites just like a human would. You describe what you want in natural language, and OpenClaw figures out how to do it.
Example conversation:
You: "Check if my package has shipped on Amazon"
OpenClaw: "I'll check your Amazon orders. [Opens Amazon, logs in, navigates to orders] Your package shipped yesterday and will arrive Thursday."
What You Can Do
Form Filling
Automatically fill out forms, applications, and surveys.
Data Extraction
Scrape product prices, reviews, or any web data.
Website Monitoring
Watch pages for changes and get alerts.
Screenshot Capture
Take screenshots of webpages for reference.
Login Automation
Securely log into websites and perform actions.
Booking & Reservations
Automate booking flights, restaurants, appointments.
Configure browser behavior in your config file:
{
"tools": {
"browser": {
"enabled": true,
"headless": true,
"timeout": 30000,
"userDataDir": "~/.openclaw/browser-data",
"viewport": {
"width": 1280,
"height": 720
}
}
}
}headless— Run without visible window (default: true)timeout— Max wait time for page loads (ms)userDataDir— Store cookies and sessionsviewport— Browser window size
Browser automation is powerful but requires careful security practices:
- !Credential storage — OpenClaw can save login sessions. Ensure your server is secure.
- !Sensitive sites — Be cautious with banking and financial sites.
- !Rate limiting — Respect website terms of service and rate limits.
- !Two-factor auth — Some 2FA flows may require manual intervention.
For sites that require your logged-in session, you can use the OpenClaw Chrome extension to share your browser context:
- • Install the OpenClaw Chrome extension
- • Connect it to your OpenClaw instance
- • OpenClaw can now use your existing logins
Create a skill that uses browser automation:
--- name: Price Checker triggers: - "check price" - "price alert" tools: - browser --- # Price Checker Skill When asked to check a product price: 1. Navigate to the provided URL 2. Find the price element on the page 3. Extract the current price 4. Compare with any saved price alerts 5. Report the current price and any changes If the user wants to set an alert: 1. Save the URL and target price 2. Set up a daily check using cron 3. Notify via message when price drops below target
Start Automating
Set up OpenClaw and start automating your web tasks.