Closed
Description
I tried using the library's drag_from_to_for_duration
but Appium server gave me:
Error: "fromX" parameter is mandatory for "dragFromToForDuration" call
The culprit is this line https://github.com/appium/ruby_lib/blob/master/lib/appium_lib/ios/xcuitest_gestures.rb#L121
Change it to
args = { fromX: from_x, fromY: from_y, toX: to_x, toY: to_y, duration: duration }
to fix it. Do you want a PR for this? Is this a change in Appium or has it been broken for a while?
Metadata
Metadata
Assignees
Labels
No labels