appium / java-client

Java language binding for writing Appium Tests, conforms to W3C WebDriver Protocol
Apache License 2.0
1.22k stars 758 forks source link

Install or update appium-gestures-plugin required for W3c Actions/Gestures implementation when using Appium 2.0 #1930

Closed vnuta9 closed 1 year ago

vnuta9 commented 1 year ago

Description

I am using Appium2.0.0-beta66 version. Since TouchAction class used for the gesture/actions is being deprecated, I am supposed to install appium-gestures-plugin ([from]) ) and use it.

Environment

Details

When I try to run the command

$appium plugin install --source=npm appium-gestures-plugin as was suggested, I am getting the message ✔ Installing 'appium-gestures-plugin' Error: ✖ A plugin named "gestures" is already installed. Did you mean to update? I tried to check the installed plugins

$appium plugin list --installed ✔ Listing installed plugins

Then ran this command: $appium plugin update appium-gestures-plugin I got back this message: Error: ✖ The plugin "appium-gestures-plugin" was not installed, so can't be updated How to update the existing 'gestures@1.0.0-beta.4' to gestures@2.0.0 ?

Code To Reproduce Issue [ Good To Have ]

Please remember: it's easier to reproduce and fix the bug with sample code. You can git clone https://github.com/appium/appium/tree/master/sample-code or https://github.com/appium/appium/tree/master/sample-code/apps and reproduce an issue using Java and sample apps. Also you can create a gist with pasted java code sample or put it here using markdown. About markdown please read Mastering markdown and Writing on GitHub

Exception Stacktraces

Please create a gist with the pasted stacktrace of the exception thrown by java.

Link To Appium Logs

Please create a gist which is a paste of your full Appium logs, and link them here. Do not paste your full Appium logs here, as it will make this issue very long and hard to read! If you are reporting a bug, always include Appium logs as linked gists! It helps to define the problem correctly and clearly.

saikrishna321 commented 1 year ago

@vnuta9 Closing this ticket as you have started a discussion here https://github.com/AppiumTestDistribution/appium-gestures-plugin/issues/74#issuecomment-1571232393