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();