Reference
Troubleshooting
Common issues, debug techniques, and file locations to help you diagnose problems with Pagerunner.
File Locations
- Config:
~/.pagerunner/config.toml - Database:
~/.pagerunner/state.db - Audit log:
~/.pagerunner/audit.log - Recordings:
~/.pagerunner/recordings/ - NER models:
~/.pagerunner/models/(only with--features ner) - Daemon socket:
~/.pagerunner/daemon.sock
Debug Mode
terminal
RUST_LOG=debug pagerunner mcp
Common Issues
"Chrome not found"
- Pagerunner needs Google Chrome installed (not Chromium)
- macOS:
/Applications/Google Chrome.app - Verify:
ls "/Applications/Google Chrome.app"
"Session not found" / session_not_found
- Session was closed or Chrome crashed
- Run
list_sessionsto see active sessions - Open a new session with
open_session
"Chrome unreachable" / chrome_unreachable
- Chrome process may have crashed
- Check:
pagerunner status(if using daemon) - Fix: close the session and open a new one
"Selector not found" / selector_not_found
- CSS selector doesn't match any element on the page
- Use
screenshotto see the current page state - Use
get_contentto inspect available elements - The page may not have finished loading — use
wait_forfirst
"Permission denied" / permission_denied
- A security policy is blocking the action
- Check
allowed_domainsin your profile config - Check
allowed_tools/blocked_toolssettings
"Navigation timeout" / navigation_timeout
- Page is slow to load
- Use
wait_forwith a longertimeout_ms - Check if the URL is correct and the site is up
"Database locked"
- Another pagerunner process holds the DB lock
- If using daemon mode, MCP clients should auto-proxy through it
- Check:
lsof ~/.pagerunner/state.db - Fix: stop the other process, or use daemon mode
"Anonymization gap" / anonymization_gap
- PII was detected in content that should have been anonymized
- The content was blocked before reaching the LLM (safe)
- Consider adding custom patterns for domain-specific PII
Session Health States
alive— normal operationreconnecting— brief CDP interruption, auto-reconnecting (retry in 2-3s)recovering— Chrome crashed, being restarted (retry in 5-10s)dead— Chrome gone, must close and reopen session
Checking Status
terminal
pagerunner status
# daemon status, DB health, Chrome processes
pagerunner audit
# query audit log
pagerunner audit -n 20
# last 20 audit events
Next: Configuration →