Skip to main content
Glama

Selenium MCP Server

browser_execute_script

Execute JavaScript code directly in the current web page to manipulate DOM elements, extract data, or automate browser interactions during web testing.

Instructions

Execute JavaScript in the context of the current page

Input Schema

NameRequiredDescriptionDefault
scriptYesJavaScript code to execute

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "script": { "description": "JavaScript code to execute", "type": "string" } }, "required": [ "script" ], "type": "object" }

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/pshivapr/selenium-mcp'

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