Hello,
I've found here that I can use some "touch action" from the appium library.
http://www.rubydoc.info/github/appium/ruby_lib/Appium/TouchAction
I've tried "tap" but I've got error
my code :
@driver_appium = Appium::Driver.new(capabilities)
@driver = @driver_appium.start_driver
@browser = Watir::Browser.new @driver
@browser.driver.manage.timeouts.implicit_wait = 30
@op = {
opts: {
'x' => 0.5,
'y' => 0.5,
'fingers' => 1
}}
@driver_appium.tap(@op)
and I have
wrong number of arguments (1 for 0) (ArgumentError)
I've tryed to "press" or "long_press" but for that I've got
undefined method `press' for # (NoMethodError)
So what happen ? Do I have a problem with my lib ? I've install all this 3 weeks ago with last version of everything...
Thanks a lot
and I add that when I do
@driver_appium.tap()
(because it told me that number of arg is 0 so I try that...)
I have the error
"no block given (LocalJumpError)"