[Bug] Chrome Browser Use blocks DOM reads for explicitly allowed WeCom documentation URLs

Open 💬 1 comment Opened Jul 18, 2026 by Kevinyuyj

Codex version

Codex Desktop on macOS.

Browser/Chrome plugin runtime build observed during reproduction: 26.715.31925.

Subscription

Not relevant to the reproduction.

Platform

macOS with the Codex Desktop app and the bundled Chrome Browser Use integration.

What issue are you seeing?

Codex Browser Use cannot read the DOM of two public WeCom documentation pages, even though both origins are explicitly configured as Allow browsing.

Affected URLs:

The pages open and render normally in Chrome.

Browser Use can:

  • Discover both existing Chrome tabs
  • Claim both tabs
  • Read each tab's URL
  • Read each tab's title

However, calling playwright.domSnapshot() for either page fails with:

Browser Use rejected this action due to browser security policy.
Reason: Browser use is not permitted on <URL>.

The rejection occurs in the URL-policy checks before DOM access:

throwIfBlocksUrl
→ ensureUrlPolicyAllowed
→ ensureUrlOriginAllowed
→ ensureCurrentTabOriginAllowed
→ ensureCommandAllowed
→ domSnapshot

Both origins are configured under:

Settings → Computer Use → Google Chrome → Website permissions

They are set to Allow browsing.

The global website approval setting is Always allow, full CDP access is enabled, and the Codex app has been fully restarted. The result remains unchanged.

Steps to reproduce

  1. In Codex Desktop, enable the bundled Chrome Browser Use integration.
  2. Under Google Chrome website permissions, add the following origins as Allow browsing:
  • https://open.work.weixin.qq.com
  • https://developer.work.weixin.qq.com
  1. Enable full CDP access.
  2. Fully restart Codex.
  3. Open these pages in Chrome:
  • https://open.work.weixin.qq.com/help2/pc/21661
  • https://developer.work.weixin.qq.com/document/path/101463
  1. Ask Codex to claim the existing tabs and read their DOM.
  2. Observe that tab discovery, claiming, URL reads, and title reads succeed.
  3. Observe that playwright.domSnapshot() is rejected by Browser Use URL policy for both pages.

Expected behavior

Because both public origins are explicitly set to Allow browsing, Browser Use should permit read-only DOM access to these pages.

At minimum, the allowlist should be applied consistently to read-only DOM operations after tab discovery and tab claiming have succeeded.

Actual behavior

Browser Use rejects the DOM command before accessing the page, stating that Browser Use is not permitted on the URL.

This appears to be either:

  • A Browser Use safety-policy false positive, or
  • An allowlist propagation/origin-matching issue affecting DOM commands.

No form submission, page modification, file upload, authentication, or sensitive-data access is involved. The requested action is read-only access to public documentation.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗