Skip to main content
Glama

cdp_execute

Execute JavaScript directly in browser page contexts to automate interactions, manipulate DOM elements, or retrieve dynamic content during web automation sessions.

Instructions

Execute JavaScript in the page context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scriptYesJavaScript to execute
frame_idNoExecute in specific frame (from cdp_list_frames)

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/RED-BASE/cdp-mcp'

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