Skip to main content
Glama

Selenium MCP Server

browser_drag_and_drop

Automate drag and drop actions between web elements using specified locator strategies. Enhances web testing and interaction capabilities via Selenium WebDriver.

Instructions

Perform drag and drop between two elements

Input Schema

NameRequiredDescriptionDefault
byYesLocator strategy to find element
targetByYesLocator strategy to find target element
targetValueYesValue for the target locator strategy
timeoutNoMaximum time to wait for element in milliseconds
valueYesValue for the locator strategy

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "by": { "description": "Locator strategy to find element", "enum": [ "id", "css", "xpath", "name", "tag", "class", "link", "partialLink" ], "type": "string" }, "targetBy": { "description": "Locator strategy to find target element", "enum": [ "id", "css", "xpath", "name", "tag", "class" ], "type": "string" }, "targetValue": { "description": "Value for the target locator strategy", "type": "string" }, "timeout": { "description": "Maximum time to wait for element in milliseconds", "type": "number" }, "value": { "description": "Value for the locator strategy", "type": "string" } }, "required": [ "by", "value", "targetBy", "targetValue" ], "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