lib/calabash-cucumber/keyboard_helpers.rb in calabash-cucumber-0.9.164 vs lib/calabash-cucumber/keyboard_helpers.rb in calabash-cucumber-0.9.165

- old
+ new

@@ -272,10 +272,11 @@ # # raises an error if the text cannot be entered def keyboard_enter_text(text) _ensure_can_enter_text if uia_available? - uia_type_string(text) + text_before = query("textField isFirstResponder:1",:text).first + uia_type_string(text, text_before) else text.each_char do |ch| begin keyboard_enter_char(ch, {:should_screenshot => false}) rescue