Appium 1.9.0 - How can I use: driver.longPressKey and set duration time


#1

Hi,

I am using: driver.longPressKey
Does anyone knows how to make duration time to long press for example 10 seconds ?

Full line: driver.longPressKey(new KeyEvent(AndroidKey.MEDIA_FAST_FORWARD));

Thanks .


#2

try to do it via W3C actions


#3

it won’t work,
The tests are on Android TV


#4

Anyone can help ? I can’t find a solution