All guides

Verify a public web page with the OpenClaw browser tool

Use OpenClaw's separate openclaw browser profile to open a public page, read its text, cross-check with a screenshot, then close the tab.

AINavWritten / Updated Sources checked
On this page

At a glance

This guide covers one concrete task: having the agent open a public web page in an isolated browser and confirm whether certain text is there. The official docs say OpenClaw can run a dedicated Chrome/Brave/Edge/Chromium profile, driven by a small local control service inside the Gateway that listens on loopback only and is isolated from your personal browser. It is a safe, separate surface for automation and verification, apart from your daily browser.

Workflow

  1. Layer 1: confirm isolation

    Before starting, confirm the task uses the openclaw profile (orange accent by default), which never touches your personal browser profile.

  2. Layer 2: read the page

    Read the page text, answer the specific question and cross-check with a screenshot.

  3. Layer 3: wrap up

    Once the conclusion matches the page, close the tab opened for this task and check that no downloads or extra tabs remain.

Each stage cites official sources.

Before you start

  • A running OpenClaw Gateway on your machine (see the official Get started page for first installation). If the browser command or tool is missing, the docs point to the Browser setup page.
  • A public page that needs no login, and a specific question to check, such as what the main heading says or whether a given link text appears.
  • A decision to use the managed profile named openclaw, not the built-in user profile, which attaches to your real signed-in Chrome session and should not be used for this task.

1. Confirm the browser tool is available

In the interface where you talk to the agent, confirm the browser tool is enabled. If a command or tool is reported missing, read the official Browser setup page. If the browser will not start or a navigation is blocked, read Browser troubleshooting, which separates CDP startup failure from a navigation SSRF block.

2. Pick the profile and state the scope

In your task description, name the openclaw profile and a single public URL. Do not involve sites that require sign-in. If you need that, the docs have a separate Browser login page, outside this guide.

3. Ask the agent to open a tab

Give the full URL and ask the agent to open it and list the current tabs. The documented tab controls are list, open, focus and close. Note the tab opened for this task, and close only that one when you finish.

4. Read and answer a specific question

Ask the agent to answer from the page's readable text. The docs mention question answering over readable text without returning a full snapshot, which keeps output short and easy to check. Make the question specific and ask for a quoted excerpt.

5. Take a screenshot and verify evidence

For the key conclusion, ask for one screenshot to corroborate the text answer. If content only appears after interaction, the agent can click or type, but re-check the result after each action and ask for a fresh snapshot if a tab or reference goes stale. Keep the task tab open after returning the answer and screenshot. Compare both pieces of evidence; on disagreement request a fresh snapshot and retry once, then stop if they still disagree. Close only the task tab after verification or the decision to stop.

6. Close the tab and stop

Keep the task tab open after returning the answer and screenshot. Compare both pieces of evidence; on disagreement request a fresh snapshot and retry once, then stop if they still disagree. Close only the task tab after verification or the decision to stop. Ask the agent to close the tab it opened. If it hits a blocker it cannot pass on its own, such as a page needing manual handling, stop the task and deal with it yourself instead of letting the agent retry repeatedly.

Original example

Example (synthetic): you want to verify the home page of the public example site https://example.org/. Instruction to the agent: 'Using the openclaw browser profile, open https://example.org/ and list the current tabs. From the page's readable text, tell me the exact main heading and whether a link with the text More information exists, quoting the original text. Take one screenshot and keep the task tab open for verification and a possible retry. Close that tab only after I confirm verification is finished or the task is stopped.' The reply should contain the quoted heading and a clear yes or no about the link. Compare it with the screenshot: if they agree, record the result; if not, ask for a fresh snapshot and retry once, and if they still disagree, stop and open the page yourself.

Completion checks

  • The task used the openclaw profile, not the user profile or your personal browser.
  • The page text in the answer matches the screenshot and is quoted from the page rather than guessed.
  • Only the public URL you specified was visited, with no extra redirects or sign-in actions.
  • At the end only the tab opened for this task was closed, and no stray downloads or tabs remain.
  • Keep the task tab open after returning the answer and screenshot. Compare both pieces of evidence; on disagreement request a fresh snapshot and retry once, then stop if they still disagree. Close only the task tab after verification or the decision to stop.

Limits

  • This is for public pages that need no login. For a signed-in Chrome session, or remote and hosted browsers, read the matching official pages; their risks and settings differ.
  • For retrieving page content without driving a browser, the official documentation points to Web fetch.
  • SSRF policy, ports and control-API auth belong to Browser configuration and Browser security; this guide changes none of them.
  • Page content is controlled by third parties. Text the agent reads is evidence for checking, not instructions to follow.

Verification scope

Written from reading the official browser index page only. Login, installation, product API execution, file upload and generated output were not tested. The sample instruction is an original illustration; check the official Browser agent tools page for actual actions and arguments.

Article sources

Original editorial content; official descriptions and checking suggestions are distinguished.

  1. OpenClaw · Official sources
    View details