I wrote the following step definitions in ruby to tap and hold on an element in the screen of an iOS App:
tapHoldAction = Appium::TouchAction.new.long_press(classCell).wait(3).release
tapHoldAction.perform
where classCell is an element on screen
But then I got the below error:
private method `select’ called for #<Selenium::WebDriver::Element:0x460025383c873b10 id=“10”> (NoMethodError)
I tried also the same code with x, y, fingers and duration with no luck, I got other errors.
What is the wrong thing I am doing?