Skip to content

Commit bbb4cc2

Browse files
committed
Fix for issue #283 'Ruby bindings TouchAction broken on Sauce Labs'
1 parent 3cfe864 commit bbb4cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/appium_lib/device/device.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def extend_search_contexts
351351
def add_touch_actions
352352
add_endpoint_method(:touch_actions, 'session/:session_id/touch/perform') do
353353
def touch_actions(actions)
354-
actions = [actions].flatten
354+
actions = { actions: [actions].flatten }
355355
execute :touch_actions, {}, actions
356356
end
357357
end

0 commit comments

Comments
 (0)