Then /^I swipe left$/
Then /^I swipe right$/
Then /^I scroll down$/
Then /^I scroll up$/
Then /^I select “([^\”]*)” from the menu$/ do |identifier|
Opens the menu by simulating pressing the menu button and then selects a menu item marked by the specified identifier.
Then /^I drag from (\d+):(\d+) to (\d+):(\d+) moving with (\d+) steps$/ do |from_x, from_y, to_x, to_y, steps|
Drags from one point on the screen to another.
Note: x:y co-ordinates are expressed as percentages of the screen width:height