Skip to content

Conversation

@Mochxd
Copy link
Contributor

@Mochxd Mochxd commented Dec 6, 2025

Adding a new "appium_long_press" tool for performing long press (press and hold) gestures on mobile devices.
Features:

  • support for long press gestures with configurable duration (default 2000ms, range 500-10000ms) for precise control
  • platform-specific implementations leveraging native iOS mobile commands (mobile: touchAndHold) with fallback to W3C Actions API
  • Android implementation using W3C Actions API with pause duration for reliable long press detection
  • element-based gesture execution that calculates center coordinates automatically
  • updated documentation in README and tools README with tool usage information

@SrinivasanTarget SrinivasanTarget merged commit ef6092e into appium:main Dec 7, 2025
3 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 7, 2025
## [1.4.0](v1.3.0...v1.4.0) (2025-12-07)

### Features

* **interactions:** add long press tool for press and hold gestures ([#53](#53)) ([ef6092e](ef6092e))
@github-actions
Copy link

github-actions bot commented Dec 7, 2025

🎉 This PR is included in version 1.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants