Method: WDA#swipe
- Defined in:
- lib/wda_lib/element.rb
#swipe(fromX, toX, fromY, toY) ⇒ Object
Swipe on an element with its id and position
174 175 176 |
# File 'lib/wda_lib/element.rb', line 174 def swipe(fromX, toX, fromY, toY) post '/wda/dragfromtoforduration', { fromX: fromX, toX: toX, fromY: fromY, toY: toY, duration: 0 } end |