diff --git a/skill-data/core/references/commands.md b/skill-data/core/references/commands.md index e97b92f..f752dab 100644 --- a/skill-data/core/references/commands.md +++ b/skill-data/core/references/commands.md @@ -324,9 +324,9 @@ agent-browser --help # Show detailed help for a command agent-browser --headed open example.com # Show browser window agent-browser --cdp 9222 snapshot # Connect via CDP port agent-browser connect 9222 # Alternative: connect command -agent-browser console # View console messages +agent-browser console # View console messages (needs AGENT_BROWSER_CAPTURE_CONSOLE=1) agent-browser console --clear # Clear console -agent-browser errors # View page errors +agent-browser errors # View page errors (needs AGENT_BROWSER_CAPTURE_CONSOLE=1) agent-browser errors --clear # Clear errors agent-browser highlight @e1 # Highlight element agent-browser inspect # Open Chrome DevTools for this session @@ -392,3 +392,23 @@ AGENT_BROWSER_PROVIDER="browserbase" # Cloud browser provider AGENT_BROWSER_STREAM_PORT="9223" # Override WebSocket streaming port (default: OS-assigned) AGENT_BROWSER_HOME="/path/to/agent-browser" # Custom install location ``` + +### Stealth / anti-detection knobs (fork) + +```bash +AGENT_BROWSER_CAPTURE_CONSOLE="1" # Enable `console`/`errors` capture. OFF by default: + # a live CDP Runtime domain is a detectable bot signal, + # so console/errors return empty (with a hint) until set. +AGENT_BROWSER_TIMEZONE="Asia/Tokyo" # --launch only. Native timezone override (IANA id, or + # "auto" to derive from locale). Aligns Intl+Date to a proxy. +AGENT_BROWSER_BLOCK_WEBRTC="1" # --launch only. Hide local IP via WebRTC. Auto-forces WebRTC + # through the proxy when one is set; "0" opts out. +AGENT_BROWSER_HIDE_CANVAS="1" # --launch only. Session-stable canvas/audio fingerprint noise. +AGENT_BROWSER_ADAPTIVE_REF="0" # Disable adaptive @ref relocation (on by default; relocates a + # moved element by fingerprint when role/name re-query fails). +``` + +> **Heads-up for `console` / `errors`:** capture is **off by default** in this stealth +> fork. Both commands return `{"messages":[]}` / `{"errors":[]}` plus a `hint` until you +> launch the session with `AGENT_BROWSER_CAPTURE_CONSOLE=1`. This keeps the CDP `Runtime` +> domain disabled (a known bot signal) for the common automation path. diff --git a/skill-data/dogfood/SKILL.md b/skill-data/dogfood/SKILL.md index 5e65296..5ebe053 100644 --- a/skill-data/dogfood/SKILL.md +++ b/skill-data/dogfood/SKILL.md @@ -96,7 +96,7 @@ Read [references/issue-taxonomy.md](references/issue-taxonomy.md) for the full l - Within each section, test interactive elements: click buttons, fill forms, open dropdowns/modals. - Check edge cases: empty states, error handling, boundary inputs. - Try realistic end-to-end workflows (create, edit, delete flows). -- Check the browser console for errors periodically. +- Check the browser console for errors periodically. **Console/error capture is off by default in this stealth fork** — start the dogfood session with `AGENT_BROWSER_CAPTURE_CONSOLE=1` (e.g. `AGENT_BROWSER_CAPTURE_CONSOLE=1 agent-browser --session {SESSION} open `) or `console`/`errors` will return empty. **At each page:** diff --git a/skill-data/slack/SKILL.md b/skill-data/slack/SKILL.md index 7d5b6f9..e5fe075 100644 --- a/skill-data/slack/SKILL.md +++ b/skill-data/slack/SKILL.md @@ -230,6 +230,9 @@ agent-browser snapshot -i | grep -c "treeitem" ### Check console for errors +Console/error capture is off by default in this stealth fork — launch the session with +`AGENT_BROWSER_CAPTURE_CONSOLE=1` first, or these return empty. + ```bash agent-browser console agent-browser errors