Skip to main content
Glama

MCP Appium Server

by Rahulec08

long-press

Simulate a long press gesture on a mobile app element using a specific selector and duration. Ideal for testing or automating interactions like hold actions in Appium-based mobile automation workflows.

Instructions

Perform a long press gesture on an element

Input Schema

NameRequiredDescriptionDefault
durationNoDuration of the long press in milliseconds (default: 1000)
selectorYesElement selector (e.g., xpath, id)
strategyNoSelector strategy: xpath, id, accessibility id, class name (default: xpath)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "duration": { "description": "Duration of the long press in milliseconds (default: 1000)", "type": "number" }, "selector": { "description": "Element selector (e.g., xpath, id)", "type": "string" }, "strategy": { "description": "Selector strategy: xpath, id, accessibility id, class name (default: xpath)", "type": "string" } }, "required": [ "selector" ], "type": "object" }
Install Server

Other Tools from MCP Appium Server

Related Tools

    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/Rahulec08/appium-mcp'

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