-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
actionsUser interaction actions (tap, drag, zoom, etc)User interaction actions (tap, drag, zoom, etc)enhancementNew feature or requestNew feature or request
Description
Description
Add support for long press gesture to trigger context menus and special actions.
Requirements
- Implement
LongPressActionclass - Support configurable press duration (default 1000ms)
- Handle context menu detection
- Work with any UI element
Files
smartmonkey/exploration/action.py(add LongPressAction)smartmonkey/device/event_manager.py(add long_press method)
Usage example
# Long press on element
LongPressAction(element=target, duration=1000)
# Long press at coordinates
LongPressAction(x=540, y=960, duration=1500)Acceptance Criteria
- LongPressAction implemented
- Duration parameter (default 1000ms)
- Works with elements and coordinates
- Context menu handling
Metadata
Metadata
Assignees
Labels
actionsUser interaction actions (tap, drag, zoom, etc)User interaction actions (tap, drag, zoom, etc)enhancementNew feature or requestNew feature or request