Built-In Browser Control
OpenClaw includes a browser automation tool powered by Playwright. No additional setup — it's ready to use.
Basic Operations
Open a Page
browser(action: "open", targetUrl: "https://example.com")Take a Screenshot
browser(action: "screenshot")Get Page Content
browser(action: "snapshot")Returns an accessible tree of the page — headings, links, buttons, text content.
Click Elements
browser(action: "act", request: {
kind: "click", ref: "e12"
})Fill Forms
browser(action: "act", request: {
kind: "fill", ref: "e15", text: "hello@example.com"
})Master this topic with hands-on labs
Go beyond reading — build real projects in sandboxed environments with expert video guidance.
Browse Courses →Use Cases
Price Monitoring
"Check the price of this product every day and alert me if it drops below €50."
Content Research
"Open these 5 URLs and summarize the key points from each article."
Form Automation
"Fill out the weekly status report form with this week's updates."
Visual Testing
"Take a screenshot of our landing page and compare it to last week's version."
Data Extraction
"Go to this page and extract all the course titles and prices into a table."
Chrome Extension Relay
For accessing your actual browser session:
- Install the OpenClaw Browser Relay extension
- Click the toolbar icon on the tab you want to share
- Your agent can now see and interact with that tab
This is useful for: - Pages behind authentication - Complex web apps - Debugging in real-time
Get weekly IT automation tips
Docker, Ansible, Terraform, MLOps — curated insights delivered to your inbox. No spam.
Subscribe Free →Profiles
OpenClaw supports two browser profiles:
openclaw— isolated browser managed by OpenClawchrome— relay to your actual Chrome browser via extension
Tips
- Use snapshots over screenshots — text is cheaper than images
- Reference elements by ref — more reliable than CSS selectors
- Wait for page load — add small delays after navigation
- Handle popups — cookie banners and modals may block elements
- Be respectful — don't scrape sites that prohibit it
---
Ready to go deeper? Check out our hands-on course: OpenClaw Agent — practical exercises you can follow along on your own machine.
Related guide
Related reading: the Ansible intelligent assistant and MCP server covers this in real-world detail.
Ready to learn by doing?
Stop reading tutorials — start building. Expert video courses with hands-on labs in real sandboxed environments.
Related Articles
OpenClaw Volume Permissions Fix
Fix OpenClaw Docker volume permission errors. Resolve EACCES issues for named volumes and bind mounts with troubleshooting steps.
Troubleshoot OpenClaw Gateway Errors
Fix OpenClaw gateway errors: 401 unauthorized, connection refused, origin not allowed, and WebSocket failures with resolution guides.
OpenClaw Reverse Proxy with Caddy
Set up HTTPS for OpenClaw using Caddy reverse proxy. Automatic TLS certificates, WebSocket support, and production config.
OpenClaw Cron Jobs: Scheduled AI Tasks
Schedule recurring tasks with OpenClaw cron — from daily summaries to weekly reports. Complete setup guide with practical examples.
OpenClaw for DevOps
Use OpenClaw as your DevOps assistant — monitoring servers, managing deployments, checking logs, and automating infrastructure tasks.
OpenClaw Discord Bot Setup
Set up an OpenClaw AI agent as a Discord bot. Learn how to create the bot, configure permissions, and get your agent responding in channels.
Explore topics
Browse more articles on the topics covered here.