boj_browser_click
Click elements on web pages using CSS selectors to automate browser interactions and perform actions like button clicks or link navigation.
Instructions
Click an element on the page by CSS selector
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector of the element to click |
Implementation Reference
- mcp-bridge/main.js:689-700 (handler)The handler for boj_browser_click is implemented within the main request-handling loop in mcp-bridge/main.js. It extracts the browser action and invokes the "browser-mcp" cartridge via an HTTP POST request to the BoJ REST API (the invokeCartridge function).
case "boj_browser_navigate": case "boj_browser_click": case "boj_browser_type": case "boj_browser_read_page": case "boj_browser_screenshot": case "boj_browser_tabs": case "boj_browser_execute_js": { const action = toolName.replace("boj_browser_", ""); const result = await invokeCartridge("browser-mcp", { action, ...args }); sendResult(id, { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }); break; }