Difference between click() and tap()

tap and click sometimes suffer from the elements not being valid anymore and returning “not able to tap element”.

With this being said, I normally use tab on buttons that I’m sure are there. Whenever I get any problem with tapping on visible elements (but appium states they aren’t visible, etc.) I user TouchAction.new.press on Element. So no maintenance costs and it always presses on the spot even when tap/click does not work

1 Like