lib/watir/extensions/select_text.rb in watir-6.0.0.beta5 vs lib/watir/extensions/select_text.rb in watir-6.0.0
- old
+ new
@@ -1,10 +1,10 @@
Watir::Atoms.load :selectText
module Watir
class Element
def select_text(str)
- assert_exists
+ wait_for_exists
execute_atom :selectText, @element, str
end
end # Element
end # Watir