Created
August 28, 2017 05:38
-
-
Save hongkheng/442caa309a3045093830b5c3ea15aef6 to your computer and use it in GitHub Desktop.
Calabash tips and tricks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Asking user input into the cli | |
Then(/^I enter the sms otp$/) do | |
print "Enter the otp digit within 30 seconds?" | |
otp = STDIN.gets | |
wait_for_keyboard | |
keyboard_enter_text otp | |
sleep(STEP_PAUSE) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment