Skip to content

Make agent-browser errors doc more descriptive#190

Merged
ctate merged 1 commit into
vercel-labs:mainfrom
shpeedle:fix/make-errors-doc-more-clear
Jan 22, 2026
Merged

Make agent-browser errors doc more descriptive#190
ctate merged 1 commit into
vercel-labs:mainfrom
shpeedle:fix/make-errors-doc-more-clear

Conversation

@shpeedle

Copy link
Copy Markdown
Contributor

docs: clarify distinction between console and errors commands

Problem

The documentation for the console and errors commands was unclear about what each command captures. Users expected errors to show all errors including console.error() calls, but it only shows uncaught JavaScript exceptions.

This caused confusion when users would see errors in agent-browser console output but get empty results from agent-browser errors.

Solution

Updated the documentation in README.md to clarify:

  • console - captures all console.* calls (log, error, warn, info)
  • errors - captures only uncaught JavaScript exceptions (not console.error() calls)

Future Enhancement Suggestion

A useful follow-up feature would be adding type filtering to the console command:

agent-browser console --type error    # Only show console.error() messages
agent-browser console --type warning  # Only show console.warn() messages

This would make it easier to filter for specific message types without parsing the full output.

@vercel

vercel Bot commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

@shpeedle is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@ctate

ctate commented Jan 22, 2026

Copy link
Copy Markdown
Collaborator

Nice, thank you!

@ctate ctate merged commit c4f66a5 into vercel-labs:main Jan 22, 2026
1 of 2 checks passed
timothywangdev pushed a commit to timothywangdev/banana-browser that referenced this pull request Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants