We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71e629f commit 1efed4cCopy full SHA for 1efed4c
lib/appium_lib/device/touch_actions.rb
@@ -39,6 +39,10 @@ def move_to(opts)
39
end
40
41
# Press down for a specific duration.
42
+ # Alternatively, you can use `press(...).wait(...).release()` instead of `long_press` if duration doesn't work well.
43
+ # https://github.com/appium/ruby_lib/issues/231#issuecomment-269895512
44
+ # e.g. Appium::TouchAction.new.press(x: 280, y: 530).wait(2000).release.perform
45
+ #
46
# @option element [WebDriver::Element] the element to press.
47
# @option x [integer] x co-ordinate to press on.
48
# @option y [integer] y co-ordinate to press on.
0 commit comments