Other

Uncategorized MCP tools.

browser_console_clear

Clear the buffered browser console / page-error history for this session

ParameterTypeRequiredDefaultDescription
sessionstringnoOptional: named session to run this call in (default: current session).

browser_console_list

List buffered browser console messages and page errors (WebDriver BiDi log.entryAdded). Optional filters narrow the result without clearing the buffer.

ParameterTypeRequiredDefaultDescription
levelstringnoOnly include entries at this log level (one of: debug, info, warn, error)
sessionstringnoOptional: named session to run this call in (default: current session).
textstringnoOnly include entries whose text contains this substring
typestringnoOnly include console API entries or javascript exception entries (one of: console, javascript)

browser_console_wait

Wait for the next matching browser console message or page error (log.entryAdded). Returns immediately if a matching buffered entry already exists; consumes the matched entry.

ParameterTypeRequiredDefaultDescription
levelstringnoOnly match entries at this log level (one of: debug, info, warn, error)
sessionstringnoOptional: named session to run this call in (default: current session).
textstringnoOnly match entries whose text contains this substring
timeout_msintegerno30000Timeout in milliseconds (default: 30000)
typestringnoOnly match console API entries or javascript exception entries (one of: console, javascript)

On this page