doubleTapOn
Perform a double-tap gesture on a UI element or screen coordinates.
Last updated
Perform a double-tap gesture on a UI element or screen coordinates.
Double-taps a UI element or a specific point on the screen.
The doubleTapOn command accepts a Selector and a delay :
You can use the shorthand approach by providing the visible text of the element. This example double-taps an element with the visible text My Button:
- doubleTapOn: My ButtonThe implementation above produces the same result as using tapOn with the repeat configuration.
- tapOn:
text: My Button
repeat: 2
delay: 100If you need to use a different selector, or if you need to change the delay between the first and second tap, use this approach. This example uses an id selector to find the element and specifies a custom delay between taps:
- doubleTapOn:
id: "someId"
delay: 200Last updated