REA website observation (unofficial)
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)
| Intent | CLI shape (see --help) |
|---|---|
| Discover page targets | rea list-browser-targets |
| Inspect a page | rea inspect-web-page |
| Static parse of selected scripts | rea analyze-web-bundle |
| Arm an observation window | rea observe-web-session |
| Screenshot | rea capture-web-screenshot |
| Compare captures / PNGs | rea 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
- Use a browser profile you control.
- Open only authorized origins.
- Start with list/inspect before heavier observe windows.
- Save Evidence bundles you need; do not paste secrets into tickets.
- For request/response bodies, upstream also points at HAR/SAZ offline guides — separate from live CDP.
Legal framing
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.