This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
21 / 25
Jul 2018

Why do you have this capability:
dc.setCapability(“BROWSER_NAME”, “android”);?
deviceName, platformName, platformVersion would be suitable.
And try to use my example provided above

18 days later

I see method

tap(WebElement el) has been removed from Appium Java Client 6.x onwards.

Are you aware of any specific reasons ? Certainly this method is more useful and readable than newer methods using TapOptions and PointOptions. :thinking:

1 month later

Could you please share us, LongPress on coordinates with duration? I have tried but I can’t. What I have tried

//LongPress on coordinates with duration:
new TouchAction((AndroidDriver)driver).longPress(longPressOptions().withElement((ElementOption) point(xPoint, yPoint)).withDuration(Duration.ofMillis(duration))).release().perform();

2 months later

dude,
I searched for every fck place on the internet and 3 days looking I find your code !! thx man !!! help me a lot