Skip to main content
Glama
nfodor

Chromium ARM64 Browser

by nfodor

get_console_errors

Retrieve JavaScript console errors from Chromium browser sessions on ARM64 devices to identify and debug web application issues during automation testing.

Instructions

Get browser console errors

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the tool logic, returning the stored console errors as a JSON string in the MCP response format.
    async getConsoleErrors() { return { content: [{ type: 'text', text: JSON.stringify(consoleErrors, null, 2) }], }; }
  • index.js:239-246 (registration)
    Tool registration in the ListTools response, including name, description, and input schema (empty object).
    { name: 'get_console_errors', description: 'Get browser console errors', inputSchema: { type: 'object', properties: {}, }, },
  • index.js:369-370 (registration)
    Dispatch case in the CallToolRequestSchema handler that routes the tool call to the getConsoleErrors method.
    case 'get_console_errors': return await this.getConsoleErrors();
  • Input schema definition for the tool, specifying an empty object (no parameters required).
    inputSchema: { type: 'object', properties: {}, },
  • Global array that stores console error entries, populated by CDP event listeners.
    let consoleErrors = [];

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/nfodor/mcp-chromium-arm64'

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