Skip to main content
Glama

capture_console

Capture console output from a webpage by providing a URL, optional JavaScript command, and wait duration. Monitor and retrieve all console messages for debugging or analysis.

Instructions

Capture console output from a web page. Accepts a URL, optional JS command to run, and duration to wait (default 4 seconds). Returns all console messages during that time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
durationNoDuration to capture console output in seconds
jsCommandNoOptional JavaScript command to execute on the page
urlYesHTTP/HTTPS URL to capture console from
waitUntilNoWait until event: load, domcontentloaded, networkidle0, networkidle2domcontentloaded

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/just-every/mcp-screenshot-website-fast'

If you have feedback or need assistance with the MCP directory API, please join our Discord server