REA website observation (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

REA can attach to a user-owned Chrome-family browser through the Chrome DevTools Protocol (CDP) and return bounded Evidence about a page. npm rea-agents 6.7.0 (checked 2026-10-24) documents this under docs/browser-observation.md.

What it is for

  • Understanding structure, scripts and network metadata on an authorized page.
  • Exporting captured scripts into REA’s static JavaScript workflows.
  • Comparing captures/screenshots with the documented compare commands.

What it is not

  • Not a mandate to ignore site terms or paywalls.
  • Not “REA for cracking web apps.”
  • Not a promise of full DOM fidelity on every site (protocol omissions are called out upstream).

Command map (names only — flags live upstream)

IntentCLI shape (see --help)
Discover page targetsrea list-browser-targets
Inspect a pagerea inspect-web-page
Static parse of selected scriptsrea analyze-web-bundle
Arm an observation windowrea observe-web-session
Screenshotrea capture-web-screenshot
Compare captures / PNGsrea compare-web-captures / rea compare-web-screenshots

MCP tool names mirror these surfaces (list_browser_targets, inspect_web_page, …). Prefer --json when scripting.

Practical checklist

  1. Use a browser profile you control.
  2. Open only authorized origins.
  3. Start with list/inspect before heavier observe windows.
  4. Save Evidence bundles you need; do not paste secrets into tickets.
  5. For request/response bodies, upstream also points at HAR/SAZ offline guides — separate from live CDP.

Authorized testing, your staging sites, bug-bounty targets in scope, and educational labs only. RepoRead will not help bypass authentication or DRM on third-party properties.

RepoRead is unofficial. When this page and docs/browser-observation.md disagree, trust upstream.

FAQ

Do I need Ghidra for websites?

No. Website observation uses a Chrome-family browser via CDP. Native providers are a separate lane.

Is this Selenium-style automation?

Upstream frames it as passive reverse-engineering observation with bounded Evidence — not a general remote-control bot product. Read browser-observation.md for exact surfaces and limits.

Which CLI entry points exist?

Examples include rea list-browser-targets, rea inspect-web-page, rea analyze-web-bundle, rea observe-web-session, rea capture-web-screenshot (see upstream for flags).

Can I scrape any site?

Only pages you own or are authorized to test. Respect terms of service, robots rules and local law.

Where do script exports go next?

Captured Debugger sources can feed static JS analysis via export_web_scripts — see website-script-export.md upstream.

Sources