Skip to main content
Glama

long-press

Simulate a long press gesture on mobile app elements to access context menus or secondary actions. Specify element selector and press duration for precise automation.

Instructions

Perform a long press gesture on an element

Input Schema

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

Other Tools

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

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