Back to docs

Tool Get Console Messages

Category: Browser State · Tier: Free

Get browser console messages (log, warn, error, info) captured since last navigation.

Parameters

Parameter Type Required Default Description
filter string No "all" Filter by type: all, error, warning, log, info
clear boolean No false Clear captured messages after reading
_browserToken string No Browser session token

Example

Check for JavaScript errors on the page
→ get_console_messages filter="error"

Related

From the Blog