Trying to understand something in a code I've just seen. To implement a "tap", the following code is written:
driver.mouse_down(...)
sleep(1)
driver.mouse_down(...)
My question is how it can be known that the sleep is long enough? Can I make it shorter? Is there a standard about minimal tap time etc?
Thanks
There is no minimum tap time used by the Android platform. There are longer times for detecting things like long presses, which are defined by http://developer.android.com/reference/android/view/ViewConfiguration.html