Improved timing.

This commit is contained in:
Martin Edenhofer 2015-06-23 14:48:15 +02:00
parent 5840225332
commit dffadb8452

View file

@ -1225,7 +1225,7 @@ wait untill text in selector disabppears
if data[:state] || data[:group] || data[:body] if data[:state] || data[:group] || data[:body]
found = nil found = nil
(1..5).each { (1..7).each {
if !found if !found
begin begin
text = instance.find_elements( { css: '.content.active .js-reset' } )[0].text text = instance.find_elements( { css: '.content.active .js-reset' } )[0].text