I'm writing a test where it asks the user to enter the OTP. When user enters it, it uses the same in the OTP window to bypass it. I tried using gets.chomp and $STDIN but it never really stops at that place to prompt for input.
p "Enter OTP (#{email}):"
otp = gets.chomp
fill_otp(otp)
Aucun commentaire:
Enregistrer un commentaire