I have a scenario to test an IOS app like this: long press on an element. move that element to desired location. I am using the following code: but its not working for me. Need any good suggestion. Answer i was in trouble also about this. But i solved this like below: waitAction will wait to complete longPress action and