Method: RubyApp::Element::Event#swipe

Defined in:
lib/ruby_app/element.rb

#swipe(direction) ⇒ Object



183
184
185
# File 'lib/ruby_app/element.rb', line 183

def swipe(direction)
  self.execute("RubyApp.swipe#{direction == :left ? 'Left' : 'Right'}();")
end