Skip to main content
Glama

Selenium MCP Server

browser_execute_script

Execute JavaScript within a web page using Selenium WebDriver for automating browser interactions, enabling dynamic content manipulation and enhanced testing capabilities.

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