lib/element.rb in gridium-0.1.2 vs lib/element.rb in gridium-0.1.3

- old
+ new

@@ -29,11 +29,11 @@ elements.each do |element| if element.displayed? @element = element; end end - @element.enabled? + } else wait.until { @element = @driver.find_element(@by, @locator); Log.debug("Finding element #{self}..."); @element.enabled? } end @@ -168,9 +168,10 @@ def text element.text end def text= text + element.clear element.send_keys text end # # Search for an element within this element \ No newline at end of file