Appium::TouchAction.new - not found / incorrect number of arguments

Whenever I try to execute a touch action e.g.
Appium::TouchAction.new :x => 294, :y => 285, :fingers => 1, :tapCount => 1, :duration => 0.5

I get an error - either element not found or incorrect number of arguments for new

Can anyone shed any light on this please?

1 Like

I suggest looking at the GitHub code.