-
-
Notifications
You must be signed in to change notification settings - Fork 22
feat(navigation): add swipe tool for horizontal and vertical swiping #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(navigation): add swipe tool for horizontal and vertical swiping #49
Conversation
|
|
| const platform = getPlatformName(driver); | ||
| let startX: number, startY: number, endX: number, endY: number; | ||
|
|
||
| if (args.direction) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Mochxd firstly thanks for contribution. I would prefer to have swipe tool based on element rather than only on the basis of screen size. Can you enhance to support both ways?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SrinivasanTarget Thank you for the feedback and the kind words, I’ve updated the implementation to support element based swipes in addition to screen based swipes, had to do a little git time travel with a force-push to keep the history clean. Promise I used my powers responsibly. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SrinivasanTarget hello Any update for the review?
22587a8 to
292fd5f
Compare
- Support direction-based swipes (left, right, up, down) - Support custom coordinate-based swipes with configurable duration - Optimized horizontal swipe handling for Android RecyclerViews - Platform-specific implementations for Android and iOS - Updated documentation in README and tools README
292fd5f to
9af0f68
Compare
## [1.2.0](v1.1.17...v1.2.0) (2025-12-01) ### Features * **navigation:** add swipe tool for horizontal and vertical swiping ([#49](#49)) ([5c163b7](5c163b7))
|
🎉 This PR is included in version 1.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Adding a new "appium_swipe" tool for performing swipe gestures on mobile devices.
Features: