LongPress method giving error as The method longPressWebElement in the type TouchAction is not applicable for the arguments Long7 | Appium Forum
Swapnil Salunke Posted on 09/12/2018
Code snippet TouchAction action=new TouchAction(driver);

for(MobileElement element:allNames){
System.out.println("all Names::"+element.getText());

is giving error on longPress(). I am using latest appium java client 6.1.0.
Please look into it.
PFA screenshot for ref

aditya Replied on 11/12/2018

This is depricatedmethod..

please follow latest videos for new commands