Advanced Features
🖥️

Browser Automation: Forms, Screenshots, and More

Use OpenClaw's browser tool to navigate websites, fill forms, take screenshots, and automate web tasks.

5 分鐘閱讀|
browser automationweb automationscreenshots

Browser Automation

OpenClaw's browser tool goes beyond simple web reading. It controls a real browser (Chromium) to navigate websites, interact with elements, and automate complex web tasks.

Prerequisites

  • Chromium or Chrome installed
  • Browser tool enabled in configuration
{
  "tools": {
    "browser": {
      "enabled": true,
      "headless": true
    }
  }
}

Capabilities

Navigation

  • Open URLs and follow links
  • Navigate multi-page flows
  • Handle redirects and popups

Interaction

  • Click buttons and links
  • Fill form fields
  • Select dropdown options
  • Upload files
  • Handle checkboxes and radio buttons

Capture

  • Take full-page screenshots
  • Capture specific elements
  • Extract text from rendered pages
  • Save pages as PDF

Sessions

  • Login to websites
  • Maintain authenticated sessions
  • Handle cookies and tokens

Example Tasks

Price Comparison

"Compare the price of AirPods Pro on Amazon, Best Buy, and the Apple Store. Take a screenshot of each listing."

Form Submission

"Go to the feedback form at example.com/feedback, fill in my name, email, and the message 'Great service!', then submit."

Content Monitoring

"Check if the job posting at company.com/careers/senior-dev is still active. If it is, save the full description."

Data Extraction

"Go to the weather service website and get the 5-day forecast for San Francisco. Format it as a table."

Headless vs Visible

  • Headless (default): Browser runs invisibly in the background
  • Visible: Browser window appears so you can watch the automation
{
  "tools": {
    "browser": {
      "headless": false
    }
  }
}

Security

  • Browser sessions are isolated from your personal browser
  • No access to your saved passwords or bookmarks
  • Each session starts fresh unless explicitly configured otherwise
  • Be cautious about which sites you automate — respect Terms of Service
browser automationweb automationscreenshotsformschromium

準備好使用AI助理了嗎?

今天就開始使用Claw for All。無需設定,無需終端機,註冊即可使用。

開始使用

相關指南